WInputComponent class
The input component that wraps the native tag on WInputDecoratorComponent.
use this component as an alternative to the if you feel like having more customization e.g. loading indicator, clear icon, etc.
- Implemented types
- Annotations
- @Component(selector: 'w-input', styleUrls: const ['w_input.css'], templateUrl: 'w_input.html', providers: const [const ClassProvider(WInputDecorService)], directives: const [coreDirectives, formDirectives, ngAdminDirectives, WInputDecoratorComponent])
Constructors
- WInputComponent(WInputDecorService _service)
Properties
- clearable ↔ bool
-
@Input('clearable'), read / write
- filter ↔ dynamic Function(dynamic)
-
The callback that filters out the current value of the input. [...]
@Input('filter'), read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- input ↔ InputElement
-
@ViewChild('input'), read / write
- isRequired ↔ bool
-
@Input('required'), read / write
- placeholder ↔ String
-
@Input('placeholder'), read / write
- readonly ↔ bool
-
@Input('readonly'), read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- type ↔ String
-
@Input('type'), read / write
- value ↔ dynamic
-
@Input('value'), read / write
- valueChange → Stream
-
@Output(), read-only
Methods
-
ngAfterViewInit(
) → void -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setValue(
dynamic v) → void -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited