pressButton() {
    this.buttonPressed_ = true;
    this.menu.lockShowing();
    this.el_.setAttribute('aria-pressed', true);
    if (this.items && this.items.length > 0) {
      this.items[0].el().focus(); // set the focus to the title of the submenu
    }
  }
/**
   * Makes changes based on button pressed
   *
   * @method pressButton
   */
Makes changes based on button pressed
@method pressButton
Makes changes based on button pressed @method pressButton
pressButton() {
    this.buttonPressed_ = true;
    this.menu.lockShowing();
    this.el_.setAttribute('aria-pressed', true);
    if (this.items && this.items.length > 0) {
      this.items[0].el().focus(); 
    }
  }
pressButton ( ) { this . buttonPressed_ = true ; this . menu . lockShowing ( ) ; this . el_ . setAttribute ( 'aria-pressed' , true ) ; if ( this . items && this . items . length > 0 ) { this . items [ 0 ] . el ( ) . focus ( ) ; } }
Makes changes based on button pressed
 @method pressButton
Makes changes based on button pressed @method pressButton
// set the focus to the title of the submenu