forked from lsl/xzjl-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
…
|
||
|---|---|---|
| .. | ||
| README.en-US.md | ||
| README.md | ||
| indexes.d.ts | ||
| indexes.js | ||
| indexes.json | ||
| indexes.wxml | ||
| indexes.wxss | ||
| props.d.ts | ||
| props.js | ||
| type.d.ts | ||
| type.js | ||
README.en-US.md
:: BASE_DOC ::
API
Indexes Props
| name | type | default | description | required |
|---|---|---|---|---|
| index-list | Array | - | 0.32.0。Typescript:string [] | number[] |
N |
| list | Array | [] | deprecated。Typescript:ListItem[] interface ListItem { title: string; index: string; children: { title: string; [key: string]: any} [] }。see more ts definition |
N |
| sticky | Boolean | true | Typescript:Boolean |
N |
| sticky-offset | Number | 0 | 1.0.0 |
N |
Indexes Events
| name | params | description |
|---|---|---|
| change | (index: string | number) |
0.34.0 |
| select | (index: string | number) |
- |
IndexesAnchor Props
| name | type | default | description | required |
|---|---|---|---|---|
| external-classes | Array | - | ['t-class'] |
N |
| index | String / Number | - | - | N |