yo(selector).scrollTo(to, duration)
Scroll the element to the position "to" and the duration in mileseconds
yo(document.body).scrollTo(yo('.myclass').el().offsetTop, 1000);
Go to index
Scroll the element to the position "to" and the duration in mileseconds
yo(document.body).scrollTo(yo('.myclass').el().offsetTop, 1000);
Go to index
From here you can search these documents. Enter your search terms below.
| Keys | Action |
|---|---|
| ? | Open this help |
| ← | Previous page |
| → | Next page |
| s | Search |