of static method

Returns InternalElementData of the element.

Throws StateError in browsers.

Implementation

static InternalElementData of(Element element) {
  return impl.ofElement(element as impl.Element);
}