Represents the react CheckBox Component.
<CheckBoxComponent label='Default'></CheckBoxComponent>
boolean
Specifies a value that indicates whether the CheckBox is checked
or not.
When set to true
, the CheckBox will be in checked
state.
Defaults to false
string
Defines class/multiple classes separated by a space in the CheckBox element. You can add custom styles to the CheckBox by using this property.
Defaults to ”
boolean
Specifies a value that indicates whether the CheckBox is disabled
or not.
When set to true
, the CheckBox will be in disabled
state.
Defaults to false
boolean
Specifies whether to enable the rendering of untrusted HTML values in the CheckBox component. If ‘enableHtmlSanitizer’ set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
Defaults to true
boolean
Enable or disable persisting component’s state between page reloads.
Defaults to false
boolean
Enable or disable rendering component in right to left direction.
Defaults to false
{ : }
You can add the additional html attributes such as disabled, value etc., to the element. If you configured both property and equivalent html attribute then the component considers the property value.
Defaults to {}
boolean
Specifies a value that indicates whether the CheckBox is in indeterminate
state or not.
When set to true
, the CheckBox will be in indeterminate
state.
Defaults to false
string
Defines the caption for the CheckBox, that describes the purpose of the CheckBox.
Defaults to ”
Positions label before
/after
the CheckBox.
The possible values are:
Defaults to ‘After’
string
Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.
Defaults to ”
string
Defines name
attribute for the CheckBox.
It is used to reference form data (CheckBox value) after a form is submitted.
Defaults to ”
string
Defines value
attribute for the CheckBox.
It is a form data passed to the server when submitting the form.
Defaults to ”
Click the CheckBox element its native method
Returns void
Destroys the widget.
Returns void
Sets the focus to CheckBox its native method
Returns void
Triggers when the CheckBox state has been changed by user interaction.
EmitType<Event>
Triggers once the component rendering is completed.