From 397004f7acc338b112a9e1dc2481acc1446e0209 Mon Sep 17 00:00:00 2001 From: bchanx Date: Sat, 15 Feb 2014 17:05:05 -0800 Subject: [PATCH] Update API comment for auto() --- slidr.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/slidr.js b/slidr.js index 43df357..a892208 100644 --- a/slidr.js +++ b/slidr.js @@ -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} */