MaterialSelectSearchboxComponent class

A simple component that maps an input box to the Filterable interface.

Any input typed will be used to call the filter method Filterable.

Inheritance
Annotations
  • @Component(selector: 'material-select-searchbox', directives: [materialInputDirectives, NgModel], providers: [ExistingProvider(Focusable, MaterialSelectSearchboxComponent)], styleUrls: ['material_select_searchbox.scss.css'], templateUrl: 'material_select_searchbox.html')

Properties

filterable Filterable
Set a handle to a Filterable interface to use.
no getter
focusable Focusable?
no getterinherited
hashCode int
The hash code for this object.
no setterinherited
input MaterialInputComponent?
no getter
inputText String
Query text to filter on.
getter/setter pair
label String?
getter/setter pair
onFocus Stream<FocusEvent>
Event when the element is focused.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

focus() → void
Item/component focuses itself
inherited
handleFocus(FocusEvent event) → void
inherited
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
stopSpaceKeyPropagation(KeyboardEvent keyboardEvent) → void
Allow typing a space character when the searchbox is used inside another component that assumes space to be an action (such as select).
toString() String
A string representation of this object.
inherited

Operators

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