Open
Description
Description
Adding a new scroll-position functional modifier that mimics the native scrollTop and scrollBottom.
API
- top
- left
Each API will take an numerical value or a callback that exposes the element as its first argument, e.g callback(element). This allows interacting with this.element
for more flexible implementation like scrollBottom
or scrollRight
, if needed.
Examples
1.