code: function update_expanded(expanded) { // eslint-disable-line camelcase
      if ((expanded && this.buttonEl.getAttribute('aria-expanded') === 'false') ||
          (!expanded && this.buttonEl.getAttribute('aria-expanded') === 'true')) {
          this.buttonEl.click();
      }
  }
docs: Internal marko function, can be triggered from both makeup and API
  http://v3.markojs.com/docs/marko-widgets/javascript-api/#setstatedirtyname-value
  @param {Boolean} expanded