12345678910111213141516171819202122232425262728 |
- import { ElementUIComponent } from './component'
- export type MenuDisplayMode = 'horizontal' | 'vertical'
- export type MenuTheme = 'light' | 'dark'
- /** Menu that provides navigation for your website */
- export declare class ElMenu extends ElementUIComponent {
- /** Menu display mode */
- mode: MenuDisplayMode
- /** Theme color */
- theme: MenuTheme
- /** Index of currently active menu */
- defaultActive: string
- /** Array that contains keys of currently active sub-menus */
- defaultOpeneds: string[]
- /** Whether only one sub-menu can be active */
- uniqueOpened: boolean
- /** How sub-menus are triggered, only works when mode is 'horizontal' */
- menuTrigger: string
- /** Whether vue-router mode is activated. If true, index will be used as 'path' to activate the route action */
- router: boolean
- }
|