hide method

void hide()
inherited

Hide component.

Implementation

void hide() {
  _content!.hidden = true;

  if (_showing) {
    _displayOnHidden = _content!.style.display;
  }
  _content!.style.display = 'none';

  _showing = false;
}