Interface MenuItem

Hierarchy

  • MenuItem

Properties

click?: (() => Node)

Type declaration

    • (): Node
    • 点击事件

      Returns Node

enable?: (() => boolean)

Type declaration

    • (): boolean
    • 是否启用,禁用时显示灰色

      Returns boolean

path: string

标签的路径

priority?: number

优先级,数字越大,显示越靠前,默认为0

show?: (() => boolean)

Type declaration

    • (): boolean
    • 是否显示,默认显示

      Returns boolean

Generated using TypeDoc