Skip to content

Vizel API / core/src / VizelSlashCommandExtensionOptions

Interface: VizelSlashCommandExtensionOptions ​

Defined in: packages/core/src/extensions/slash-command.ts:21

Properties ​

commands? ​

ts
optional commands?: readonly VizelCommand[];

Defined in: packages/core/src/extensions/slash-command.ts:27

Commands surfaced in the slash menu. Defaults to the slash-surfaced subset of vizelDefaultCommands. The extension filters the list by surfaces.slashMenu again so callers may pass a superset.


locale? ​

ts
optional locale?: VizelLocale;

Defined in: packages/core/src/extensions/slash-command.ts:29

Locale supplying command label / description strings.


suggestion? ​

ts
optional suggestion?: Partial<SuggestionOptions<VizelCommand, any>>;

Defined in: packages/core/src/extensions/slash-command.ts:31

Suggestion options for customizing the popup behavior.

Released under the MIT License.