1. @Experimental()
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.

Source

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