A wrapper around a native element inside of a View.

An ElementRef is backed by a render-specific element. In the browser, this is usually a DOM element.

Constructors

ElementRef(nativeElement)

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
nativeElement → dynamic

The underlying native element or null if direct access to native elements is not supported (e.g. when the application runs in a web worker).

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited