MaterialInputAutoSelectDirective class

Directive to control automatic text selection on material-input when focused.

NOTE: This directive can't be used with MaterialMultilineInputComponent as auto selecting multiple lines on focus is not generic. Please reach out to ACX team if you have a use case for the same.

Example usage:

Annotations
  • @Directive.new(selector: 'material-input[autoSelect]:not([multiline])')

Properties

autoSelect bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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