FocusableDirective class

Tags an element as being Focusable.

Tagging elements as Focusable allows other components to easily access which elements can be focused and perform actions on them.

Inheritance
Implementers
Annotations
  • @Directive(selector: '[focusableElement]', exportAs: 'focusableElement', providers: [ExistingProvider(Focusable, FocusableDirective)])

Constructors

FocusableDirective(HtmlElement node)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Disposes this disposable and any resources it has open.
inherited
focus() → void
Item/component focuses itself
inherited
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