Skip to main content

Interface: Command

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[]

Source

packages/extension-api/src/extension-api.d.ts:55


command

command: string

Source

packages/extension-api/src/extension-api.d.ts:52


title

title: string

Source

packages/extension-api/src/extension-api.d.ts:51


tooltip?

optional tooltip: string

Source

packages/extension-api/src/extension-api.d.ts:53