Need a special offer?Find out if your project fits.
+

How do I enable/disable full screen mode programmatically?

Answered
Andre Pinheiro asked on October 8, 2019

Hi folks,
 
is there a way to enable/disable full screen mode programmatically? According to the API documentation there used to have a method for this, but not anymore.
 
Thanks in advance,
Andre Pinheiro

4 answers

Public
Andre Pinheiro October 8, 2019

Hi Folks,
I've found this method:
flexmonster.toolbar.toggleFullscreen();
However, it is not documented (did not find anything about it). Is it the correct way to accomplish what I need?
Thanks,
Andre Pinheiro

Public
Vera Didenko Vera Didenko Flexmonster October 9, 2019

Hello, Andre,
 
Thank you for writing to us.
 
Yes, the method used before is now deprecated.
We kindly suggest using the implementation of the fullscreen Toolbar Tab: flexmonster.toolbar.toggleFullscreen(); 
 
Please let us know if everything worked fine for you.
 
Best Regards,
Vera

Public
Marianne Garnier September 1, 2021

Hello !
I reopen this issue because I use Flexmonster with angular and the method flexmonster.toolbar.toggleFullscreen() does not exist and causes an error.

Is there another way to open the pivot in fullscreen programmatically ?

Thanks,
Marianne

Public
Vera Didenko Vera Didenko Flexmonster September 2, 2021

Hello, Marianne,
 
Thank you for reaching out.
 
In Angular, you can use flexmonster.toolbar.fullscreenHandler() to enter fullscreen mode programmatically.
 
Please let us know if this works.
 
Kind regards,
Vera

Please login or Register to Submit Answer