ReferenceDirective class

Place on an element or component to expose the Element as 'ref'.

Example usage: <material-button ref #button="ref">

Implementers
Annotations
  • @Directive(selector: '[ref]', exportAs: 'ref')

Constructors

ReferenceDirective(@Optional() Element? elementRef)

Properties

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

Methods

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