Webportal v1

embedded apps

API Reference - WebPortal.OverflowPopup

WebPortal.OverflowPopup

Type Event

WebPortal.OverflowPopup

Description This event is triggered when the popup queue contains 5 popp and a new popup try to be added. Check out this page for more information.
Type event message.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
window.addEventListener("message", function(event){
  
  if (typeof event.data !== 'undefined' && typeof event.data.type !== 'undefined' ){

    var data = event.data;
    var type = event.data.type;

    switch(type){

      // Popup Queue Exceeded
      case "WebPortal.OverflowPopup":
        console.log("The Popup queue exceed max of 5 popups.");
        break;

    }
  }
});

See Also