Skip to content

SuggestModalCommandBuilder.addDropDown method

SuggestModalCommandBuilder › addDropDown

Adds a dropdown to the instruction bar, bound to a modifier+key shortcut that cycles through its options.

Signature:

addDropDown(command: DropDownCommand): this

Parameters:

ParameterTypeDescription
commandDropDownCommandThe dropdown command to add.

Returns: thisThe builder instance for chaining.