Sidebar
Example
More examples please refer Demo
API
Sidebar
Attribute | Description | Type | Default |
---|---|---|---|
active | Current option |
|
|
list | All options |
| - |
onChange | Triggered when the current option changes |
| - |
SideBarItem
Attribute | Description | Type | Default |
---|---|---|---|
title | Content |
| - |
dot | Whether to show red dot |
|
|
info | Content of the badge |
| - |
disabled | Whether to be disabled |
|
|
onClick | Triggered when click on the option |
| - |
children | Sub-option content |
| - |
content | Custom sub-option content |
| - |
Last updated