Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a75c176a8a
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (34 sloc) 1.184 kb
<!DOCTYPE html>
<html>
<head>
<link href="window.css" rel="stylesheet">
</head>
<body>
<h1>Window State Sample</h1>
<div id="fullscreen-area">
<button id="newWindow">Create new window</button><br>
<button id="newWindowFullscreen">Create new fullscreen window</button><br>
<button id="newWindowFullscreenHidden">Create new fullscreen hidden window, then show after a delay.</button><br>
<p>HTML5 Fullscreen:
<button id="html-fullscreen-enter">Enter</button>
<button id="html-fullscreen-exit">Exit</button>
<br>
<span id="html-fullscreen-label"></span>
</p>
<p>Delayed app.window actions:
<br>
<button id="fullscreen">Fullscreen</button>
<button id="maximize">Maximize</button>
<button id="minimize">Minimize</button>
<button id="restore">Restore</button>
<button id="hide">Hide</button>
<button id="show">Show</button>
<br>
Delay: <input id="delay-slider" type ="range" min ="0000" max="10000" step="1000" value="2000"/>
<span id="delay-label"></span>
</p>
</div>
This text is outside of the HTML5 fullscreen area.
</body>
<script src="window.js"></script>
</html>
Jump to Line
Something went wrong with that request. Please try again.