Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Hao Liu committed Apr 10, 2019
1 parent 5256491 commit bf6b2d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ Fired when the scrollbar is scrolled.

This timeout adds a throttle for `onScrollbarScroll`. Default is `300`. Set to `0` to remove throttle.

## Methods

### `setPosition(pos: {top: number, left: number})`

## Customization

Adding a custom className to the component will give you power to customize the scrollbar's track and handler. Here is an example:
Expand Down

0 comments on commit bf6b2d6

Please sign in to comment.