CheckboxCommand.onInit method
CheckboxCommand › onInit
Called once with the created checkbox element, to initialize its state.In
ModalCommandsRenderMode.Buttons mode the element is created but never appended — the button is a view of it — so the same initialization code serves both render modes.Signature:
onInit(checkboxEl: HTMLInputElement): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| checkboxEl | HTMLInputElement | The created checkbox element. |
Returns: void