Webportal v1

embedded apps

API Reference - WebPortal.onApplicationLoaded

WebPortal.onApplicationLoaded

Type Event
Type Deprecated
wave 2
wave 3
wave 4

Event to send to WebPortal to indicate that the application has loaded properly.

Note: Must be sent to the WebPortal using the Window.postMessage API each time your application is launched.

Example

1
2
//Mandatory: inform the parent window (applications portal) that the application is loaded and ready 
  window.parent.postMessage({'type':'WebPortal.onApplicationLoaded'}, '*');

This is deprecated, it should not be used in a new project.