VOOZH about

URL: https://www.geeksforgeeks.org/javascript/web-window-api-dom-window-fullscreen-property/

⇱ Web Window API | DOM Window fullscreen property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Web Window API | DOM Window fullscreen property

Last Updated : 31 Jul, 2019
The Window interface has a fullscreen property which tells whether the window is displayed in fullscreen mode or not. Syntax:
BoolVal = windowReference.fullScreen;
Return value:
    Boolean
    • True: If windows is in fullscreen mode.
    • False: If windows are not in fullscreen mode.
Example : Output: Window not in fullscreen: 👁 Image
Window in fullscreen: 👁 Image
Browser support:
  • Firefox 3+
Comment
Article Tags:
Article Tags: