Constructor
Class Usage
Here’s how to create an instance of the CheckboxElement class:- TypeScript
Key Properties and Methods
Default Value of the Input Element
The setDefaultValue() method sets the default value(s) in the checkbox input, while the getDefaultValue() retrieves it. For example- TypeScript
Example
Here is an example that showcases the creation and manipulation of an instance of CheckboxElement:- TypeScript