extensions/amp-story/1.0/amp-story-embedded-component.js
/**
   * Builds the tooltip overlay and appends it to the provided story.
   * @private
   * @return {Node}
   */
Builds the tooltip overlay and appends it to the provided story.
@private
@return {Node}
Builds the tooltip overlay and appends it to the provided story . @private @return { Node }
buildFocusedState_() {
    this.focusedStateOverlay_ = this.renderFocusedStateElement_();
    this.shadowRoot_ = createShadowRootWithStyle(
      <div />,
      this.focusedStateOverlay_,
      CSS
    );
    this.tooltip_.addEventListener(
      'click',
      (event) => {
        event.stopPropagation();
        this.analyticsService_.triggerEvent(
          StoryAnalyticsEvent.CLICK_THROUGH,
          this.triggeringTarget_
        );
        this.tooltip_.href && this.onAnchorClick_(event);
      },
      true 
    );
    return this.shadowRoot_;
  }
buildFocusedState_ ( ) { this . focusedStateOverlay_ = this . renderFocusedStateElement_ ( ) ; this . shadowRoot_ = createShadowRootWithStyle ( < div / > , this . focusedStateOverlay_ , CSS ) ; this . tooltip_ . addEventListener ( 'click' , ( event ) => { event . stopPropagation ( ) ; this . analyticsService_ . triggerEvent ( StoryAnalyticsEvent . CLICK_THROUGH , this . triggeringTarget_ ) ; this . tooltip_ . href && this . onAnchorClick_ ( event ) ; } , true ) ; return this . shadowRoot_ ; }
Builds the tooltip overlay and appends it to the provided story.
Builds the tooltip overlay and appends it to the provided story .
/** capture */