caiofsouza / vue-backtotop

A Back-to-top component for Vue.js, which scroll page to the top when clicked
https://caiofsouza.github.io/vue-backtotop/example/
MIT License
184 stars 42 forks source link

Added visibleoffsetbottom property #10

Closed dnlgrwd87 closed 6 years ago

dnlgrwd87 commented 6 years ago

Added a prop called visibleoffsetbottom. Users can now specify a threshold for the button to disappear when reaching a certain distance from the bottom of the screen. If no value is passed in, it defaults to 0 and the component's functionality will remain as it was before.