面包屑导航
- Source:
Members
(inner) props
- Source:
Properties:
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
data |
Array |
<optional> |
菜单项数据 [{label,icon,to}] Properties
|
||||||||||||||||
separator |
string |
<optional> |
分隔符 |
||||||||||||||||
theme |
string |
<optional> |
风格,可选值:'flat', 'arrow' |
||||||||||||||||
active |
number |
<optional> |
当前激活的菜单索引,支持sync修饰符 |
属性参数
Events
click
- Source:
点击菜单时触发
Parameters:
Name | Type | Description |
---|---|---|
item |
object | 菜单项 |
index |
number | 菜单项索引 |