Skip to content

SettingEx.addCheckbox method

SettingEx › addCheckbox

Adds a CheckboxComponent to the setting.

Signature:

addCheckbox(cb: (checkbox: CheckboxComponent) => void): this

Parameters:

ParameterTypeDescription
cb(checkbox: CheckboxComponent) => voidThe callback to call with the component.

Returns: thisThe setting instance.