notion-enhancer/mods/scroll-to-top
Ryo Hilmawan fb63601ebf
new mod: scroll-to-top (#172)
* Basic Functionality

* Added smooth scrolling option

* Added scroll down distance option

* Button hide/show animation

* Add percentage distance option

* Calculate percentage every update (as opposed to every page change)

* Calculate percentage height based on scroller and content height

* Licensing and Conventions

* Hide button on initialization if top distance is set

* Fixed bug with button visibility when opening pages
2020-10-21 22:32:10 +11:00
..
mod.js new mod: scroll-to-top (#172) 2020-10-21 22:32:10 +11:00
style.css new mod: scroll-to-top (#172) 2020-10-21 22:32:10 +11:00