connectToOpener
function connectToOpener<In, Out, R>(options): OpenerConnection<In, Out, R>;Call from the opened (child) window to connect back to its opener. Throws synchronously when there is no opener or no ue-cid parameter — i.e. the page was not opened via openWindow().
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
In extends MessageMap | - |
Out extends MessageMap | - |
R | unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options | ConnectToOpenerOptions |
Returns
Section titled “Returns”OpenerConnection<In, Out, R>