Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (36 sloc) 0.909 kB
<title>fullscreen component</title>
<link rel="stylesheet" href="../build/build.css">
.relative {
position: relative;
height: 300px;
width: 300px;
margin-left: 200px;
textarea {
outline: none;
font: 16px "Helvetica Neue", Helvetica;
} {
max-width: 800px;
display: block;
margin: 0 auto;
<h1>fullscreen component</h1>
<div class="relative">
<textarea id="content" cols="30" rows="10"></textarea>
<button onclick="">Go fullscreen</button>
<script src="../build/build.js" type="text/javascript"></script>
<script type="text/javascript">
var Fullscreen = require('fullscreen'),
textarea = document.getElementById('content');
var fullscreen = Fullscreen(textarea);
Jump to Line
Something went wrong with that request. Please try again.