Programmatic scrolling
Handle scrolling within your application by using the goTo function.
TIP
This feature was introduced in v3.5.0 (Polaris)
Usage
The goTo method takes two parameters target and options. target can be either a pixel offset from the top of the page, a valid css selector, or an element reference. options is an object that includes duration, easing, container, and offset.
API
Directive | Description |
---|---|
useGoTo | The useGoTo composable |