Angular Components
ClrToggle
Selector & Basic Usage
Bindings
Binding | Type | Options | Default | Description |
---|---|---|---|---|
[(ngModel)] | two-way | model.property | 0 | From the Angular forms API. |
[formControlName] | input | any | n/a | From the Angular forms API. |
[disabled] | input | true, false | null | From the Angular forms API. |
[name] | input | Valid HTML name | null | From the Angular forms API. |
[validator] | input | ValidatorFn | From the Angular forms API. |
ClrToggleContainer
A container component used to enable helper and error messages and works with Angular forms.
Selector & Basic Usage
Bindings
Binding | Type | Options | Default | Description |
---|---|---|---|---|
[clrInline] | input | true, false | false | Place the controls inline with the ability to wrap when there is not enough space. |
ClrToggleWrapper
The ClrToggleWrapper associates a specific label with the ClrToggle input.