extensions/amp-story/1.0/amp-story-embedded-component.js
/**
   * Clears any attributes or handlers that may have been added to the tooltip,
   * but weren't used because the user dismissed the tooltip.
   * @private
   */
Clears any attributes or handlers that may have been added to the tooltip,
but weren't used because the user dismissed the tooltip.
@private
Clears any attributes or handlers that may have been added to the tooltip but weren ' t used because the user dismissed the tooltip . @private
clearTooltip_() {
    this.mutator_.mutateElement(dev().assertElement(this.tooltip_), () => {
      const actionIcon = this.tooltip_.querySelector(
        '.i-amphtml-tooltip-action-icon'
      );
      actionIcon.className = 'i-amphtml-tooltip-action-icon';
      const customIcon = this.tooltip_.querySelector(
        '.i-amphtml-story-tooltip-custom-icon'
      );
      customIcon.className = 'i-amphtml-story-tooltip-custom-icon';
      resetStyles(customIcon, ['background-image']);
      this.tooltip_.classList.remove(DARK_THEME_CLASS);
      this.tooltip_.removeAttribute('href');
    });
  }
clearTooltip_ ( ) { this . mutator_ . mutateElement ( dev ( ) . assertElement ( this . tooltip_ ) , ( ) => { const actionIcon = this . tooltip_ . querySelector ( '.i-amphtml-tooltip-action-icon' ) ; actionIcon . className = 'i-amphtml-tooltip-action-icon' ; const customIcon = this . tooltip_ . querySelector ( '.i-amphtml-story-tooltip-custom-icon' ) ; customIcon . className = 'i-amphtml-story-tooltip-custom-icon' ; resetStyles ( customIcon , [ 'background-image' ] ) ; this . tooltip_ . classList . remove ( DARK_THEME_CLASS ) ; this . tooltip_ . removeAttribute ( 'href' ) ; } ) ; }
Clears any attributes or handlers that may have been added to the tooltip,
 but weren't used because the user dismissed the tooltip.
Clears any attributes or handlers that may have been added to the tooltip but weren ' t used because the user dismissed the tooltip .