src/service/viewport-impl.js
/**
   * Instruct the viewport to enter lightbox mode.
   * Requesting element is necessary to be able to enter lightbox mode under FIE
   * cases.
   * @param {!Element=} opt_requestingElement
   * @return {!Promise}
   */
Instruct the viewport to enter lightbox mode.
Requesting element is necessary to be able to enter lightbox mode under FIE
cases.
@param {!Element=} opt_requestingElement
@return {!Promise}
Instruct the viewport to enter lightbox mode . Requesting element is necessary to be able to enter lightbox mode under FIE cases . @param { !Element = } opt_requestingElement @return { !Promise }
enterLightboxMode(opt_requestingElement) {
    this.viewer_.sendMessage(
        'requestFullOverlay', dict(),  true);
    this.enterOverlayMode();
    this.hideFixedLayer();
    if (opt_requestingElement) {
      this.maybeEnterFieLightboxMode(
          dev().assertElement(opt_requestingElement));
    }
    return this.binding_.updateLightboxMode(true);
  }
enterLightboxMode ( opt_requestingElement ) { this . viewer_ . sendMessage ( 'requestFullOverlay' , dict ( ) , true ) ; this . enterOverlayMode ( ) ; this . hideFixedLayer ( ) ; if ( opt_requestingElement ) { this . maybeEnterFieLightboxMode ( dev ( ) . assertElement ( opt_requestingElement ) ) ; } return this . binding_ . updateLightboxMode ( true ) ; }
Instruct the viewport to enter lightbox mode.
Instruct the viewport to enter lightbox mode .
/* cancelUnsent */