13 lines
750 B
Plaintext
13 lines
750 B
Plaintext
/* @flow */
|
|
|
|
// Message called from iframe.html inline script before "window.onload" event. This is first message from iframe to window.opener.
|
|
export const BOOTSTRAP: 'iframe-bootstrap' = 'iframe-bootstrap';
|
|
// Message from iframe.js to window.opener, called after "window.onload" event. This is second message from iframe to window.opener.
|
|
export const LOADED: 'iframe-loaded' = 'iframe-loaded';
|
|
// Message from window.opener to iframe.js
|
|
export const INIT: 'iframe-init' = 'iframe-init';
|
|
// Error message from iframe.js to window.opener. Could be thrown during iframe initialization process
|
|
export const ERROR: 'iframe-error' = 'iframe-error';
|
|
// Message from window.opener to iframe. Call method
|
|
export const CALL: 'iframe-call' = 'iframe-call';
|