NgDocToggleComponent
Decorators: | @UntilDestroy |
Generic types: | T |
Selectors: |
|
Extends: | DIStateControl<T> |
Implements: |
|
No documentation has been provided.
Constructor
No documentation has been provided. |
Presentation
|
Properties
Name | Type | Description |
---|---|---|
change p inherited from DIControlValueAccessor | (value: T | null) => void | |
changeDetectorRef p r inherited from DIControlValueAccessor |
| |
checked inherited from DIStateControl |
| |
config p r inherited from DIStateControl | DIStateControlConfig<boolean | TModel> | undefined | |
disabledValue p r inherited from DIControlValueAccessor |
| |
dragging | boolean | |
elementRef p r inherited from DIControlValueAccessor |
| |
incomingUpdate p r inherited from DIControlValueAccessor | ((value: T | null) => void) | undefined | |
model p r inherited from DIControlValueAccessor |
| |
ngControl p r inherited from DIControlValueAccessor |
| |
renderer p r inherited from DIControlValueAccessor |
| |
touch p inherited from DIControl | () => void | Function that should be used to make control touched. |
value inherited from DIStateControl | true | TModel |
Accessors
get disabledinherited from DIControlValueAccessor |
---|
Returns true if the control is disabled. |
Presentation
|
Type
|
set disabledinherited from DIControlValueAccessor |
---|
No documentation has been provided. |
Presentation
|
Type
|
get hasValueinherited from DIControlValueAccessor |
---|
Returns true if the control is not empty. |
Presentation
|
Type
|
get isIntermediateinherited from DIStateControl |
---|
No documentation has been provided. |
Presentation
|
Type
|
Methods
check()inherited from DIStateControl | ||||
---|---|---|---|---|
Sets checked state | ||||
Presentation
| ||||
Returnsvoid | ||||
|
intermediate()inherited from DIStateControl | ||||
---|---|---|---|---|
Sets intermediate state | ||||
Presentation
| ||||
Returnsvoid | ||||
|
ngOnChanges()inherited from DIStateControl | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
No documentation has been provided. | ||||||||||
Presentation
| ||||||||||
Parameters
Returnsvoid | ||||||||||
|
ngOnInit()overrides DIControl |
---|
No documentation has been provided. |
Presentation
|
Returnsvoid |
registerOnTouched()inherited from DIControl | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Method is called by the forms API. | ||||||||||
Presentation
| ||||||||||
Parameters
Returnsvoid | ||||||||||
|
protected setState() | ||||||
---|---|---|---|---|---|---|
No documentation has been provided. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
toggle()inherited from DIStateControl | ||||
---|---|---|---|---|
Toggles checked state | ||||
Presentation
| ||||
Returnsvoid | ||||
|
uncheck()inherited from DIStateControl | ||||
---|---|---|---|---|
Sets unchecked state | ||||
Presentation
| ||||
Returnsvoid | ||||
|
updateModel()overrides DIControl | ||||||
---|---|---|---|---|---|---|
Updates the model of the current control. This is the main method that should be used to update the model. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |
writeValue()inherited from DIControl | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Method is called by the forms API to write to the view when programmatic changes from model to view are requested. | ||||||||||
Presentation
| ||||||||||
Parameters
Returnsvoid | ||||||||||
|