src/service/viewport-impl.js
/**
   * Enters frame lightbox mode if under a Friendly Iframe Embed.
   * @param {!Element} requestingElement
   * @visibleForTesting
   */
Enters frame lightbox mode if under a Friendly Iframe Embed.
@param {!Element} requestingElement
@visibleForTesting
Enters frame lightbox mode if under a Friendly Iframe Embed . @param { !Element } requestingElement @visibleForTesting
maybeEnterFieLightboxMode(requestingElement) {
    const fieOptional = this.getFriendlyIframeEmbed_(requestingElement);
    if (fieOptional) {
      dev().assert(this.isLightboxExperimentOn(),
          'Lightbox mode for A4A is only available when ' +
          `'${A4A_LIGHTBOX_EXPERIMENT}' experiment is on`);
      dev().assert(fieOptional).enterFullOverlayMode();
    }
  }
maybeEnterFieLightboxMode ( requestingElement ) { const fieOptional = this . getFriendlyIframeEmbed_ ( requestingElement ) ; if ( fieOptional ) { dev ( ) . assert ( this . isLightboxExperimentOn ( ) , 'Lightbox mode for A4A is only available when ' + ` ${ A4A_LIGHTBOX_EXPERIMENT } ` ) ; dev ( ) . assert ( fieOptional ) . enterFullOverlayMode ( ) ; } }
Enters frame lightbox mode if under a Friendly Iframe Embed.
Enters frame lightbox mode if under a Friendly Iframe Embed .