mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user