docs(slides): fix references to old callback names (#10575)

In the slidePrev, slideNext, and slideTo docs it still shows the old callback names.
This commit is contained in:
Rob
2017-02-27 11:42:03 -06:00
committed by Brandy Carney
parent 2408e94f5d
commit 4e8176431a

View File

@ -969,7 +969,7 @@ export class Slides extends Ion {
*
* @param {number} index The index number of the slide.
* @param {number} [speed] Transition duration (in ms).
* @param {boolean} [runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
* @param {boolean} [runCallbacks] Whether or not to emit the `ionSlideWillChange`/`ionSlideDidChange` events. Default true.
*/
slideTo(index: number, speed?: number, runCallbacks?: boolean) {
slideTo(this, this._plt, index, speed, runCallbacks);
@ -979,7 +979,7 @@ export class Slides extends Ion {
* Transition to the next slide.
*
* @param {number} [speed] Transition duration (in ms).
* @param {boolean} [runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
* @param {boolean} [runCallbacks] Whether or not to emit the `ionSlideWillChange`/`ionSlideDidChange` events. Default true.
*/
slideNext(speed?: number, runCallbacks?: boolean) {
slideNext(this, this._plt, runCallbacks, speed, true);
@ -989,7 +989,7 @@ export class Slides extends Ion {
* Transition to the previous slide.
*
* @param {number} [speed] Transition duration (in ms).
* @param {boolean} [runCallbacks] Whether or not to emit the `ionWillChange`/`ionDidChange` events. Default true.
* @param {boolean} [runCallbacks] Whether or not to emit the `ionSlideWillChange`/`ionSlideDidChange` events. Default true.
*/
slidePrev(speed?: number, runCallbacks?: boolean) {
slidePrev(this, this._plt, runCallbacks, speed, true);