set value(val) {
    this.state.value = val;

    // Don't display the value in the DOM.
    if (!safeForAttribute(val)) {
      const shouldUpdate = this.shouldUpdate;
      this.shouldUpdate = false;
      this.removeAttribute('value');
      this.shouldUpdate = shouldUpdate;
    }
  }
/**
   * @param {any} val the value for this menu item
   */
@param {any} val the value for this menu item
@param { any } val the value for this menu item
set value(val) {
    this.state.value = val;
    if (!safeForAttribute(val)) {
      const shouldUpdate = this.shouldUpdate;
      this.shouldUpdate = false;
      this.removeAttribute('value');
      this.shouldUpdate = shouldUpdate;
    }
  }
set value ( val ) { this . state . value = val ; if ( ! safeForAttribute ( val ) ) { const shouldUpdate = this . shouldUpdate ; this . shouldUpdate = false ; this . removeAttribute ( 'value' ) ; this . shouldUpdate = shouldUpdate ; } }
@param {any} val the value for this menu item
@param { any } val the value for this menu item
// Don't display the value in the DOM.