白色主题
This commit is contained in:
@@ -46,12 +46,14 @@ custom-style | String | - | `0.25.0`。自定义组件样式 | N
|
||||
index-list | Array | - | `0.32.0`。索引字符列表。不传默认 `A-Z`。TS 类型:`string [] \| number[]` | N
|
||||
list | Array | [] | 已废弃。索引列表的列表数据。每个元素包含三个子元素,index(string):索引值,例如1,2,3,...或A,B,C等;title(string): 索引标题,可不填将默认设为索引值;children(Array<{title: string}>): 子元素列表,title为子元素的展示文案。。TS 类型:`ListItem[] ` `interface ListItem { title: string; index: string; children: { title: string; [key: string]: any} [] }`。[详细类型定义](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/indexes/type.ts) | N
|
||||
sticky | Boolean | true | 索引是否吸顶,默认为true。TS 类型:`Boolean` | N
|
||||
sticky-offset | Number | 0 | `1.0.0`。锚点吸顶时与顶部的距离 | N
|
||||
|
||||
### Indexes Events
|
||||
|
||||
名称 | 参数 | 描述
|
||||
-- | -- | --
|
||||
select | `(indexes: { groupIndex: string; childrenIndex: number })` | 点击行元素时触发事件
|
||||
change | `(index: string \| number)` | `0.34.0`。索引发生变更时触发事件
|
||||
select | `(index: string \| number)` | 点击侧边栏时触发事件
|
||||
|
||||
### IndexesAnchor Props
|
||||
|
||||
|
||||
Reference in New Issue
Block a user