Interaction
scroll-to
Scroll the specified element into view with smooth scrolling.
Usage
$ cdpilot scroll-to <selector>Arguments
| Name | Required | Description |
|---|---|---|
selector | required | CSS selector of the element to scroll to |
Examples
Scroll to the footer element
$ npx cdpilot scroll-to "#footer"