Item | Description |
|---|---|
Applicable devices | Mobile phones, tablets, Vision products, and telematics devices |
Applicable regions | Global |
Only section-group, section-item, and section-header are supported.
section-group is able to contain multiple section-item elements and section-group subelements. However, it can only contain one section-header. The following headers will be ignored.
In addition to common events, the events listed in the following table are supported.
Event | Parameter | Triggering Condition |
|---|---|---|
change | { state: 1 } | section-group is expanded or collapsed. The parameter is mandatory. The options are as follows:
|
Method | Parameter | Description |
|---|---|---|
expand | { expand: boolean } | Expands or collapses a section-group. If the parent node is collapsed, this method will not take effect. The parameter is mandatory. The options are as follows:
|
scrollTo | object | Scrolls a section-list to the specified position. |
scrollTo parameters
Parameter | Type | Mandatory | Default Value | Description |
|---|---|---|---|---|
index | number | Yes | - | Index of the target scrolling position. The index value range is the range of the direct subelement of section-group, excluding section-header. |
behavior | string | No | instant | Indicates whether to scroll smoothly or instantly. The options are as follows:
|