Sets the fullscreen presentation state of the embedded Omni session.
Use this event to programmatically control the fullscreen state of your embedded Omni session and build custom fullscreen controls in the parent application.This event is useful when:
You want to build your own fullscreen button in the parent application
You need to keep Omni’s presentation state in sync with native browser fullscreen
You want to provide a consistent fullscreen experience across your application
The postMessage protocol does not carry user activation, so sending this event alone only applies Omni’s CSS overlay presentation. To enable true browser fullscreen, call iframeElement.requestFullscreen() in your own click handler first, then post fullscreen:set to sync Omni’s presentation styling.