attached method

void attached()

Called by the DOM when this element has been inserted into the live document.

Warning: This API is part of multiple custom element APIs that are no longer supported.

Implementation

void attached() {
  // For the deprecation period, call the old callback.
  enteredView();
}