LensStudio:Ui.CheckState
EnumEnum representing checkbox state.
Index
Enumeration Members
Example
const Ui = await import('LensStudio:Ui');
const parent = null as unknown as import('LensStudio:Ui').Widget;
const checkbox = new Ui.CheckBox(parent);
checkbox.checkState = Ui.CheckState.Checked;
console.log(`CheckBox state: ${checkbox.checkState}`);
checkbox.checkState = Ui.CheckState.Unchecked;
console.log(`After uncheck: ${checkbox.checkState}`);
console.log(`PartiallyChecked=${Ui.CheckState.PartiallyChecked}`);
Enumeration Members
Checked
Checked:
number
Checked state.
PartiallyChecked
PartiallyChecked:
number
Partially checked state.
Unchecked
Unchecked:
number
Unchecked state.