Skip to content

Commit

Permalink
update README for destroy method
Browse files Browse the repository at this point in the history
  • Loading branch information
sangcu committed Apr 25, 2017
1 parent 2ad9c2a commit 8bc71b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ Auto Scroller Methods

The function you set in the constructor options for `options.autoScroll`.

### destroy
### destroy(forceCleanAnimation)

Remove all event listeners needed to be able track the pointer.
Remove all event listeners needed to be able to track the pointer. If destroy Auto Scroller meanwhile scrolling then just call `.destroy(true)` to force to stop scrolling animation. Call `.destroy()` and `.destroy(false)` is the same behaviours.

Undocumented methods
--------------------
Expand Down

0 comments on commit 8bc71b5

Please sign in to comment.