Interface Command

A command for the context menu

Hierarchy

  • Command

Properties

content: string

the string to show

description?: string
disabled?: boolean
icon?: SVGTemplateResult

optional icon

select?: ((...args: any[]) => void)

Type declaration

    • (...args: any[]): void
    • callback to execute on selection

      Parameters

      • Rest ...args: any[]

      Returns void

subCommands?: Promise<Command[]>