togglePermissionClass_(hidePermissionButton) {
    this.mutateElement(() => {
      this.element.classList.toggle(
        'i-amphtml-story-360-hide-permissions-ui',
        hidePermissionButton
      );
    });
  }
/**
   * Toggles class on amp-story to show or hide activate button.
   * @param {boolean} hidePermissionButton
   * @private
   */
Toggles class on amp-story to show or hide activate button.
@param {boolean} hidePermissionButton
@private
Toggles class on amp - story to show or hide activate button . @param { boolean } hidePermissionButton @private
togglePermissionClass_(hidePermissionButton) {
    this.mutateElement(() => {
      this.element.classList.toggle(
        'i-amphtml-story-360-hide-permissions-ui',
        hidePermissionButton
      );
    });
  }
togglePermissionClass_ ( hidePermissionButton ) { this . mutateElement ( ( ) => { this . element . classList . toggle ( 'i-amphtml-story-360-hide-permissions-ui' , hidePermissionButton ) ; } ) ; }
Toggles class on amp-story to show or hide activate button.
Toggles class on amp - story to show or hide activate button .