authorizeConsumer() {
    document.documentElement.removeAttribute('hidden');

    // Emit a ready event
    this.emit('xfc.ready');
    this.JSONRPC.notification('authorized', [{ url: window.location.href, options: this.options }]);

    // If there is an onReady callback, execute it
    if (typeof this.onReady === 'function') {
      this.onReady.call(this);
    }
  }
/**
  * Authorize the parent frame by unhiding the container.
  */
Authorize the parent frame by unhiding the container.
Authorize the parent frame by unhiding the container .
authorizeConsumer() {
    document.documentElement.removeAttribute('hidden');
    this.emit('xfc.ready');
    this.JSONRPC.notification('authorized', [{ url: window.location.href, options: this.options }]);
    if (typeof this.onReady === 'function') {
      this.onReady.call(this);
    }
  }
authorizeConsumer ( ) { document . documentElement . removeAttribute ( 'hidden' ) ; this . emit ( 'xfc.ready' ) ; this . JSONRPC . notification ( 'authorized' , [ { url : window . location . href , options : this . options } ] ) ; if ( typeof this . onReady === 'function' ) { this . onReady . call ( this ) ; } }
Authorize the parent frame by unhiding the container.
Authorize the parent frame by unhiding the container .
// Emit a ready event // If there is an onReady callback, execute it