extensions/amp-story-share-menu/0.1/amp-story-share-menu.js
/**
   * Reacts to menu state updates shows or hides the menu.
   * @param {boolean} isOpen
   * @private
   */
Reacts to menu state updates shows or hides the menu.
@param {boolean} isOpen
@private
Reacts to menu state updates shows or hides the menu . @param { boolean } isOpen @private
onShareMenuStateUpdate_(isOpen) {
    this.vsync_.mutate(() => {
      this.rootEl_.classList.toggle(VISIBLE_CLASS, isOpen);
      this.rootEl_.setAttribute('aria-hidden', !isOpen);
    });
  }
onShareMenuStateUpdate_ ( isOpen ) { this . vsync_ . mutate ( ( ) => { this . rootEl_ . classList . toggle ( VISIBLE_CLASS , isOpen ) ; this . rootEl_ . setAttribute ( 'aria-hidden' , ! isOpen ) ; } ) ; }
Reacts to menu state updates shows or hides the menu.
Reacts to menu state updates shows or hides the menu .