@switch (theme) { @default {
checkModel.option1 is {{ checkModel.option1 }}. checkModel.option2 is {{ checkModel.option2 }}. checkModel.option3 is {{ checkModel.option3 }}. checkModel.option4 is {{ checkModel.option4 }}.
checkModel.option1 is {{ checkModel.option1 }}. checkModel.option2 is {{ checkModel.option2 }}. checkModel.option3 is {{ checkModel.option3 }}. checkModel.option4 is {{ checkModel.option4 }}.
In an Angular application, ngModel may be used to bind the control to a form.
The following attributes can be set to customize the behavior of the control.
value
is set to the indeterminate value specified using this attribute, it will neither display the
checkbox as checked or unchecked, and will instead show the indeterminate variation.
true
the checkbox will be displayed without a border and background.
true
the checkbox will not toggle state when clicked.
true
the checkbox will be marked as required.
The code used for the above example is shown below: