extensions/amp-story-360/0.1/amp-story-360.js
/**
   * Only show once per story on first instance of 360 component.
   * @private
   */
Only show once per story on first instance of 360 component.
@private
Only show once per story on first instance of 360 component . @private
maybeShowDiscoveryAnimation_() {
    if (
      this.isOnActivePage_ &&
      this.gyroscopeControls_ &&
      !this.element.ownerDocument.querySelector(
        `.i-amphtml-story-360-discovery`
      )
    ) {
      const page = this.getPage_();
      const discoveryTemplate = page && buildDiscoveryTemplate(page);
      this.mutateElement(() => page.appendChild(discoveryTemplate));
    }
  }
maybeShowDiscoveryAnimation_ ( ) { if ( this . isOnActivePage_ && this . gyroscopeControls_ && ! this . element . ownerDocument . querySelector ( ` ` ) ) { const page = this . getPage_ ( ) ; const discoveryTemplate = page && buildDiscoveryTemplate ( page ) ; this . mutateElement ( ( ) => page . appendChild ( discoveryTemplate ) ) ; } }
Only show once per story on first instance of 360 component.
Only show once per story on first instance of 360 component .