import { KbqToggleModule } from '@koobiq/components/toggle';Selector: kbq-toggle
Exported as: kbqToggle| Name | Description |
|---|---|
@Input('aria-label')
ariaLabel: string
|
|
@Input('aria-labelledby')
ariaLabelledby: string
|
|
@Input() big: boolean
|
|
@Input() checked: boolean
|
|
@Input() clickAction: KbqCheckboxClickAction
|
Defines the behavior when a user clicks on the toggle. |
@Input() disabled: any
|
|
@Input() id: string
|
|
@Input() indeterminate: boolean
|
Whether the toggle is indeterminate. This is also known as "mixed" mode and can be used to represent a checkbox with three states, e.g. a checkbox that represents a nested list of checkable items. Note that whenever checkbox is manually clicked, indeterminate is immediately set to false. |
@Input() labelPosition: ToggleLabelPositionType
|
|
@Input() loading: boolean
|
Property for manually set loading state. |
@Input() name: string
|
|
@Input() value: string
|
|
@Output('change')
change: EventEmitter |
|
@Output('indeterminateChange')
indeterminateChange: EventEmitter |
Event emitted when the toggle's `indeterminate` value changes. |
| color: string | |
| colorClassName: string | current class name of color |
| inputElement: ElementRef |
|
| inputId: string |
| Name | Description |
|---|---|
| checked: boolean | |
| source: KbqToggleComponent |