detached method

void detached()

Called by the DOM when this element has been removed from the live document.

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

Implementation

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