-
zhangwei
2025-03-24 2d43a1df3f5ba42710e6d21c27d1e13bdb8dfd56
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface SwiperIndicatorProps {
  /**
   * 轮播的长度
   * @default 0
   */
  length?: string | number
  /**
   * 当前处于活动状态的轮播的索引
   * @default 0
   */
  current?: string | number
  /**
   * 指示器非激活颜色
   */
  indicatorActiveColor?: string
  /**
   * 指示器的激活颜色
   */
  indicatorInactiveColor?: string
  /**
   * 指示器的形式
   * @default "line"
   */
  indicatorStyle?: 'line' | 'dot'
}
 
declare interface _SwiperIndicator {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      SwiperIndicatorProps
  }
}
 
export declare const SwiperIndicator: _SwiperIndicator