Skip to content

Commit

Permalink
Docs update;
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Nov 19, 2018
1 parent 189b8d2 commit ac9a0b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ Custom wrapper renderer.

### Methods

**scrollTo ( x `number`, y `number` )**
_return_ `Scrollbar`
Set scroll at given coordinates

**centerAt ( x `number`, y `number`)**
_return_ `Scrollbar`
Center viewport at given coordinates

**scrollToTop ()**
_return_ `Scrollbar`
Scroll to the top border
Expand Down

0 comments on commit ac9a0b6

Please sign in to comment.