Skip to main content

Interface: Command

Defined in: packages/extension-api/src/extension-api.d.ts:61

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Properties

arguments?

optional arguments: any[]

Defined in: packages/extension-api/src/extension-api.d.ts:66


command

command: string

Defined in: packages/extension-api/src/extension-api.d.ts:63


title

title: string

Defined in: packages/extension-api/src/extension-api.d.ts:62


tooltip?

optional tooltip: string

Defined in: packages/extension-api/src/extension-api.d.ts:64