Web SDK - RainwayConfig.preventUnloadingPage

Home > rainway-sdk > RainwayConfig > preventUnloadingPage

RainwayConfig.preventUnloadingPage property

Prevent unloading the page during a stream. (Show a "really leave this page?" prompt in response to a user pressing e.g. the back button while streaming.)

Defaults to "true".

Signature:

preventUnloadingPage?: boolean;