Get Free Trial
Get Free Trial

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

2 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 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

Please login or Register to Submit Answer