extensions/amp-story/1.0/amp-story-system-layer.js
/**
   * Handles click events on the mute and unmute buttons.
   * @param {boolean} mute Specifies if the audio is being muted or unmuted.
   * @private
   */
Handles click events on the mute and unmute buttons.
@param {boolean} mute Specifies if the audio is being muted or unmuted.
@private
Handles click events on the mute and unmute buttons . @param { boolean } mute Specifies if the audio is being muted or unmuted . @private
onAudioIconClick_(mute) {
    this.storeService_.dispatch(Action.TOGGLE_MUTED, mute);
    this.vsync_.mutate(() => {
      this.getShadowRoot().setAttribute(MESSAGE_DISPLAY_CLASS, 'show');
      this.hideMessageAfterTimeout_(MESSAGE_DISPLAY_CLASS);
    });
  }
onAudioIconClick_ ( mute ) { this . storeService_ . dispatch ( Action . TOGGLE_MUTED , mute ) ; this . vsync_ . mutate ( ( ) => { this . getShadowRoot ( ) . setAttribute ( MESSAGE_DISPLAY_CLASS , 'show' ) ; this . hideMessageAfterTimeout_ ( MESSAGE_DISPLAY_CLASS ) ; } ) ; }
Handles click events on the mute and unmute buttons.
Handles click events on the mute and unmute buttons .