选项
全部
  • 公开
  • 公开/受保护
  • 全部
菜单

层级

  • 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 生成