0

I am developing react web page. and what I'm wanting to do is, when a button pressed I want my web page to view on full-screen mode. How can I implement that Is there a way to do this without using any external packages

Revansiddh
  • 2,246
  • 2
  • 14
  • 27
Jonny
  • 583
  • 3
  • 10
  • 19
  • Hope you mean to say F11 functionality of chrome (shotcut of windows) ? Please check https://stackoverflow.com/a/25246044/7979337 – Revansiddh Aug 14 '18 at 09:59
  • https://www.npmjs.com/package/screenfull Package – Revansiddh Aug 14 '18 at 10:00
  • I have done something similar in an App. You should be able to use native JS to achieve this. https://stackoverflow.com/questions/7836204/chrome-fullscreen-api – konekoya Aug 14 '18 at 10:02

0 Answers0