SuggestModalCommandBuilder.build method
SuggestModalCommandBuilder › build
Applies the accumulated commands to a modal. Always registers the essential navigation/action key handlers; only renders the instruction UI and registers the option-toggle shortcuts when SuggestModalCommandBuilderBuildOptions.shouldShowInstructions istrue.Signature:
build(modal: SuggestModal<unknown>, options?: SuggestModalCommandBuilderBuildOptions): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| modal | SuggestModal<unknown> | The modal to apply the commands to. |
| options? | SuggestModalCommandBuilderBuildOptions | The build options. |
Returns: void