Skip to content

Commit ac9a0b6

Browse files
committed
Docs update;
1 parent 189b8d2 commit ac9a0b6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/API.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,14 @@ Custom wrapper renderer.
158158

159159
### Methods
160160

161+
**scrollTo ( x `number`, y `number` )**
162+
_return_ `Scrollbar`
163+
Set scroll at given coordinates
164+
165+
**centerAt ( x `number`, y `number`)**
166+
_return_ `Scrollbar`
167+
Center viewport at given coordinates
168+
161169
**scrollToTop ()**
162170
_return_ `Scrollbar`
163171
Scroll to the top border

0 commit comments

Comments
 (0)