Controlling the visibility of page scroll widgets

I want to create a button that scrolls to the top of the page. And I want to control the visibility of the button so that it appears after the user scrolls the page a bit. I tried using the DojoXScroll widget, but I can't control "visibility" with the properties. Is there any other way?
1 answers

Hi Mao Takeda,

Dojo is not recommended to use at this time as it is getting or already got deprecated, there is another solution you can go with to solve your problem if you want to create a widget while using React JS. 

you can follow this documentation as it take you step by step Build Pluggable Web Widgets  and this resource to help along the way too Pluggable Widget Property TypesHappy Hacking