Skip to main content

Interface: Command

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

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:61


command

command: string

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


title

title: string

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


tooltip?

optional tooltip: string

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