Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Faux fullscreen implementation
JavaScript CSS
tag: 0.0.1

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
History.md
Makefile
Readme.md
component.json
fullscreen.css
index.js
test.html

Readme.md

fullscreen

Faux fullscreen implementation. Cross-browser compatible, faster and less restrictive than the actual fullscreen API.

Example

var Fullscreen = require('fullscreen'),
    textarea = document.getElementById('content');

var fullscreen = Fullscreen(textarea);

fullscreen.open();

setTimeout(function() {
  fullscreen.close();
}, 1000);

Installation

$ component install matthewmueller/fullscreen

API

Fullscreen(el)

Initialize fullscreen

#open()

open fullscreen mode

#close()

close fullscreen mode

License

MIT

Something went wrong with that request. Please try again.