锚菜单组件
- Source:
Members
(inner) props
- Source:
Properties:
| Name | Type | Attributes | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
affix |
Object |
<optional> |
MyAffix组件配置项 {offsetTop, offsetBottom, target} |
||||||||||||||||||||
data |
Array |
<optional> |
菜单数据数组,数据项 {title, icon, href, anchor} Properties
|
属性参数
(inner) slots
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
title |
string | 作用域插槽,参数:菜单数据项对象 |
插槽
Events
click
- Source:
点击菜单项时触发
Parameters:
| Name | Type | Description |
|---|---|---|
vm |
VueComponent | 菜单项实例 |