Skip to content

ModalCommandBuilder.addCheckbox method

ModalCommandBuilder › addCheckbox

Adds an interactive checkbox to the control strip, bound to a modifier+key shortcut that toggles it.

Signature:

addCheckbox(command: CheckboxCommand): this

Parameters:

ParameterTypeDescription
commandCheckboxCommandThe checkbox command to add.

Returns: thisThe builder instance for chaining.