Skip to content

Commit

Permalink
Update API comment for auto()
Browse files Browse the repository at this point in the history
  • Loading branch information
bchanx committed Feb 16, 2014
1 parent b539c69 commit 397004f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions slidr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1303,8 +1303,9 @@

/**
* Automatically advance to the next slide after a certain timeout. Calls start() if not already called.
* @param {int=} opt_msec The number of millis between each slide transition. Defaults to 5000 (5 seconds).
* @param {string=} opt_direction 'up', 'down', 'left', or 'right'. Defaults to 'right'.
* Reuses any previous parameters (msec and direction) if auto() is called to resume after stop().
* @param {int=} opt_msec The number of millis between each slide transition. Default is 5000 (5 seconds).
* @param {string=} opt_direction 'up', 'down', 'left', or 'right'. Default is 'right'.
* @param {string=} opt_start The `data-slidr` id to start at (only works if auto is called to start the Slidr).
* @return {this}
*/
Expand Down

0 comments on commit 397004f

Please sign in to comment.