WXL
5 天以前 871522ed7e06fd9c62a87c178d7f5c88d7853a20
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
38
39
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface IndexListProps {
  /**
   * 右边锚点状态非激活时的颜色
   * @default "#606266"
   */
  inactiveColor?: string
  /**
   * 右边锚点状态激活时的颜色
   * @default "#5677fc"
   */
  activeColor?: string
  /**
   * 索引字符列表,数组
   * @default "A-Z"
   */
  indexList?: (string | number)[]
  /**
   * 是否开启锚点自动吸顶
   * @default true
   */
  sticky?: boolean
  /**
   * 自定义导航栏的高度,单位默认px
   * @default 0
   */
  customNavHeight?: string | number
}
 
declare interface _IndexList {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      IndexListProps
  }
}
 
export declare const IndexList: _IndexList