MultiDropdownSelectValueAccessor<T> class
ControlValueAccessor
for material dropdown select which only allows
multi-selection allowing integration with the angular forms API.
- Inheritance
-
- Object
- BaseDropdownSelectValueAccessor<
T?> - MultiDropdownSelectValueAccessor
- Annotations
-
- @Directive(selector: 'material-dropdown-select[multi][ngModel],' 'material-dropdown-select[multi][ngControl],' 'material-dropdown-select[multi][ngFormControl]', providers: [ExistingProvider.forToken(ngValueAccessor, MultiDropdownSelectValueAccessor)])
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialized ↔ bool
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selectionChangesSub
↔ StreamSubscription<
List< ?SelectionChangeRecord< >T?> > -
getter/setter pair
-
selectionModel
→ SelectionModel<
T?> -
finalinherited
Methods
-
initializeSelectionModel(
) → void -
inherited
-
ngOnDestroy(
) → void -
Executed before the directive is removed from the DOM and destroyed.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDisabledChanged(
bool isDisabled) → void -
This function is called when the control status changes to or
from "DISABLED".
inherited
-
registerOnChange(
ChangeFunction callback) → void - Set the function to be called when the control receives a change event.
-
registerOnTouched(
TouchFunction callback) → void -
Set the function to be called when the control is touched.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
writeValue(
dynamic newValue) → void - Write a new value to the element.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited