Hi , i have question about how add full screen mode in viewer as we have in demo.
Thanking you in advance.
Kind Regards,
Waq
Hi , i have question about how add full screen mode in viewer as we have in demo.
Thanking you in advance.
Kind Regards,
Waq
Hello @waqdev,
in the demo we’re just making use of the provided Fullscreen browser api. As you can see in this reference page, you can do the following:
function toggleFullScreen() {
if (!document.fullscreenElement) {
document.documentElement.requestFullscreen();
} else {
if (document.exitFullscreen) {
document.exitFullscreen();
}
}
}
Cheers,
Ricardo
thanks you for you prompt reply!!! i have question do i need to recall the rendering of diagram once we are in full-screen mode because reason we need full screen some diagram activity font looks very small then we decide to make full screen.