setVisible(visible) {
    if (this.rendered.visible !== visible) {
      this.element.style.display = visible ? '' : 'none';
      this.rendered.visible = visible;
    }
  }
Modify the visibility of the element.
@param {boolean} visible Element visibility.
@protected