Faux fullscreen implementation. Cross-browser compatible, faster and less restrictive than the actual fullscreen API.
var Fullscreen = require('fullscreen'),
textarea = document.getElementById('content');
var fullscreen = Fullscreen(textarea);
fullscreen.open();
setTimeout(function() {
fullscreen.close();
}, 1000);
$ component install matthewmueller/fullscreen
open
: emitted when we open the element in fullscreen modeclose
: emitted when we close the element's fullscreen mode
Initialize fullscreen
open fullscreen mode
close fullscreen mode
MIT