@@ -743,8 +743,8 @@ export class Slides extends Ion {
743743 * Transition to the specified slide.
744744 *
745745 * @param {number } index The index number of the slide.
746- * @param {number } speed Transition duration (in ms). Optional .
747- * @param {boolean } runCallbacks Whether or not to emit the `ionWillChange`/`ionDidChange` events. Optional . Default true.
746+ * @param {number } [ speed] Transition duration (in ms).
747+ * @param {boolean } [ runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
748748 */
749749 slideTo ( index : number , speed ?: number , runCallbacks ?: boolean ) {
750750 this . slider . slideTo ( index , speed , runCallbacks ) ;
@@ -753,8 +753,8 @@ export class Slides extends Ion {
753753 /**
754754 * Transition to the next slide.
755755 *
756- * @param {number } speed Transition duration (in ms). Optional .
757- * @param {boolean } runCallbacks Whether or not to emit the `ionWillChange`/`ionDidChange` events. Optional . Default true.
756+ * @param {number } [ speed] Transition duration (in ms).
757+ * @param {boolean } [ runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
758758 */
759759 slideNext ( speed ?: number , runCallbacks ?: boolean ) {
760760 this . slider . slideNext ( runCallbacks , speed ) ;
@@ -763,8 +763,8 @@ export class Slides extends Ion {
763763 /**
764764 * Transition to the previous slide.
765765 *
766- * @param {number } speed Transition duration (in ms). Optional .
767- * @param {boolean } runCallbacks Whether or not to emit the `ionWillChange`/`ionDidChange` events. Optional . Default true.
766+ * @param {number } [ speed] Transition duration (in ms).
767+ * @param {boolean } [ runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
768768 */
769769 slidePrev ( speed ?: number , runCallbacks ?: boolean ) {
770770 this . slider . slidePrev ( runCallbacks , speed ) ;
0 commit comments