extensions/amp-story/1.0/amp-story-system-layer.js
/**
   * Handles click events on the share button and toggles the share menu.
   * @param {!Event} event
   * @private
   */
Handles click events on the share button and toggles the share menu.
@param {!Event} event
@private
Handles click events on the share button and toggles the share menu . @param { !Event } event @private
onShareClick_(event) {
    event.preventDefault();
    const isOpen = this.storeService_.get(StateProperty.SHARE_MENU_STATE);
    this.storeService_.dispatch(Action.TOGGLE_SHARE_MENU, !isOpen);
  }
onShareClick_ ( event ) { event . preventDefault ( ) ; const isOpen = this . storeService_ . get ( StateProperty . SHARE_MENU_STATE ) ; this . storeService_ . dispatch ( Action . TOGGLE_SHARE_MENU , ! isOpen ) ; }
Handles click events on the share button and toggles the share menu.
Handles click events on the share button and toggles the share menu .