ModalCommandBuilder.build method
ModalCommandBuilder › build
Applies the accumulated commands to a modal. Always registers the essential navigation/action key handlers; only renders the control strip and registers the option-toggle shortcuts when ModalCommandBuilderBuildOptions.shouldShowInstructions istrue.Signature:
build(target: ModalCommandsTarget, options?: ModalCommandBuilderBuildOptions): ModalCommandsParameters:
| Parameter | Type | Description |
|---|---|---|
| target | ModalCommandsTarget | The modal, or the bare element + scope, to apply the commands to. |
| options? | ModalCommandBuilderBuildOptions | The build options. |
Returns: ModalCommands — A handle whose ModalCommands.refresh re-states every rendered control.