-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
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.
<div {{scroll-position top=12 left=12}}></div><div {{scroll-position top=this.scrollTopCallback}}></div>Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers