Change Page

Message Event Parameter (JSON Stringified)
Functionality

{"changePage":"sport"}

Switch to sports page.

{"changePage":"live"}

Switch to live page.

{"changePage":"altsport"}

Switch to a mobile smaller sports page. (not available in some templates)

{"changePage":"explore"}

Switch to mobile explore page. (not available in some templates)

{"changePage":"bet-history"}

Switch to Bet History.

{"logout":""}

Force UI to logout.

Example

 const iframe = document.getElementById("ifrContent");
 iframe.contentWindow.postMessage('{"changePage":"sport"}', '*');

Last updated