MaterialChipsComponent<T> class

A chips collection widget, displaying a list of objects as Chips.

Implemented types
Annotations
  • @Component(selector: 'material-chips', providers: [ExistingProvider(HasRenderer, MaterialChipsComponent)], templateUrl: 'material_chips.html', styleUrls: ['material_chips.scss.css'], directives: [MaterialChipComponent, NgFor], directiveTypes: [Typed<MaterialChipComponent>.of([#T])], changeDetection: ChangeDetectionStrategy.onPush)

Constructors

MaterialChipsComponent(ChangeDetectorRef _changeDetector)

Properties

hashCode int
The hash code for this object.
no setterinherited
itemRenderer ItemRenderer<T>?
A function to render items as a string.
getter/setter pairoverride
removable bool
Whether the chips can be removed.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedItems Iterable<T>
no setter
selectionModel SelectionModel<T>
The selection model this component controls.
getter/setter pair

Methods

ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited