src/components/dialog.js
/**
   * Opens the iframe embedded in the given container element.
   * @param {!Element} containerEl
   */
Opens the iframe embedded in the given container element.
@param {!Element} containerEl
Opens the iframe embedded in the given container element . @param { !Element } containerEl
openInContainer(containerEl) {
    const iframe = this.iframe_;
    if (iframe.isConnected()) {
      throw new Error('already opened');
    }
    containerEl.appendChild(iframe.getElement());
    return iframe.whenReady().then(() => {
      this.buildIframe_();
      return this;
    });
  }
openInContainer ( containerEl ) { const iframe = this . iframe_ ; if ( iframe . isConnected ( ) ) { throw new Error ( 'already opened' ) ; } containerEl . appendChild ( iframe . getElement ( ) ) ; return iframe . whenReady ( ) . then ( ( ) => { this . buildIframe_ ( ) ; return this ; } ) ; }
Opens the iframe embedded in the given container element.
Opens the iframe embedded in the given container element .