attached method

void attached()

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

More information can be found in the Custom Elements draft specification.

Implementation

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