mirror of https://github.com/layui/layui
基础菜单menu,文档细节修正
parent
8a8193b6e8
commit
3c2af0721e
|
@ -24,7 +24,7 @@ toc: true
|
|||
- 通过 `<li></li>` 放置菜单列表项
|
||||
- 属性:
|
||||
- 追加 `className` 为 `layui-menu-item-group` 可设置当前菜单为菜单组,即子菜单为纵向层级。
|
||||
- 或追加 `className` 为 `layui-menu-item-parent` 可这支当前菜单为父级菜单,即子菜单为横向层级。
|
||||
- 或追加 `className` 为 `layui-menu-item-parent` 可设置当前菜单为父级菜单,即子菜单为横向层级。
|
||||
- 追加 `className` 为 `layui-menu-item-divider` 可设置分隔线。
|
||||
- 追加 `className` 为 `layui-menu-item-up` 或 `layui-menu-item-down` 可设置子菜单默认收缩或展开。
|
||||
- 追加 `className` 为 `layui-menu-item-checked` 可设置当前菜单为选中状态
|
||||
|
@ -59,4 +59,4 @@ toc: true
|
|||
|
||||
## 贴士
|
||||
|
||||
基础菜单相当于是 `dropdown` 组件的一种静态化呈现,因此在事件等动态操作上需借助 `dropdown` 组件的 API 来完成。
|
||||
基础菜单相当于是 `dropdown` 组件的一种静态化呈现,因此在事件等动态操作上需借助 `dropdown` 组件的 API 来完成。
|
||||
|
|
Loading…
Reference in New Issue