Here is an example that showcases the creation and manipulation of an instance of CheckboxElement:
Copy
// Create some optionslet option1 = new OptionElement("Option 1", "1");let option2 = new OptionElement("Option 2", "2");let optionsList = [option1, option2];// Create a new instance of CheckboxElementlet checkboxElement = new CheckboxElement("1", "Choose options", optionsList);// Set and get the default valuecheckboxElement.setDefaultValue(["1", "2"]);