This is actually a directive and not a component. It allows to make visible any DOM elements (like buttons) which appear after a certain scroll offset. When clicked/tapped they take the user to the top of the page.
|Adds scrolling animation|
You can use the binding value in 3 forms:
- No value. Defaults will apply.
- As a Number. This will be the scroll offset after which DOM element will be made visible.
- As an Object with
durationas props. Duration is ignored if
animatemodifier is not used.