본문 바로가기

Web/Javascript

[JAVASCRIPT] Full Screen

웹 전체 화면 

  • JS 를 사용하여 웹페이지를 전체화면으로 만든다.
  • WEB에서 자체적으로 제공한다.
document.documentElement.requestFullscreen();

Reference

 

Fullscreen API - Web APIs | MDN

The Fullscreen API adds methods to present a specific Element (and its descendants) in fullscreen mode, and to exit fullscreen mode once it is no longer needed. This makes it possible to present desired content—such as an online game—using the user's e

developer.mozilla.org

 

How to make the window full screen with Javascript (stretching all over the screen)

How can I make a visitor's browser go fullscreen using JavaScript, in a way that works with IE, Firefox and Opera?

stackoverflow.com


There might be incorrect information or outdated content.

'Web > Javascript' 카테고리의 다른 글

[JAVASCRIPT] DOM - 노드 조작  (0) 2023.08.04
[JAVASCRIPT] DOM - 노드 탐색  (0) 2023.08.04
[JAVASCRIPT] DOM - 노드 취득 (HTMLCollection)  (0) 2023.08.04
[JAVASCRIPT] STRING  (0) 2023.07.29
[JAVASCRIPT] ARRAY  (0) 2023.07.28