选项
所有
  • 公共
  • 公共/受保护
  • 所有
菜单

层级

  • AutoplayEvents

索引

方法

autoplay

  • autoplay(swiper: any): void
  • 当幻灯片通过自动播放改变时触发的事件

    参数

    • swiper: any

    返回 void

autoplayPause

  • autoplayPause(swiper: any): void
  • 自动播放暂停时触发的事件

    参数

    • swiper: any

    返回 void

autoplayResume

  • autoplayResume(swiper: any): void
  • 自动播放恢复时触发的事件

    参数

    • swiper: any

    返回 void

autoplayStart

  • autoplayStart(swiper: any): void
  • 自动播放开始时触发的事件

    参数

    • swiper: any

    返回 void

autoplayStop

  • autoplayStop(swiper: any): void
  • 自动播放停止时触发的事件

    参数

    • swiper: any

    返回 void

autoplayTimeLeft

  • autoplayTimeLeft(swiper: any, timeLeft: number, percentage: number): void
  • 当自动播放启用时持续触发的事件。它包含在过渡到下一张幻灯片之前剩余的时间(毫秒)以及该时间相对于自动播放延迟的百分比

    参数

    • swiper: any
    • timeLeft: number
    • percentage: number

    返回 void

使用 TypeDoc 生成