Skip to content

Commit

Permalink
Correct wrong info in README about next/previous
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cetinkaya committed Mar 21, 2019
1 parent 4d3c194 commit c172af1
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 @@ -141,10 +141,10 @@ embla.next()
...and the methods are:

**`next()`**
Goes to next item. If loop is enabled and the carousel is on the last slide this method will do nothing.
Goes to next item. If loop is disabled and the carousel is on the last slide this method will do nothing.

**`previous()`**
Goes to previous item. If loop is enabled and the carousel is on the first slide this method will do nothing.
Goes to previous item. If loop is disabled and the carousel is on the first slide this method will do nothing.

**`goTo(index)`**
Goes to item that matches passed index. If loop is enabled the carousel will seek the closest way to passed index.
Expand Down

0 comments on commit c172af1

Please sign in to comment.