Namespace: fullScreen

lib/THREEx/FullScreen~ fullScreen

This helper makes it easy to handle the fullscreen API: - it hides the prefix for each browser - it hides the little discrepencies of the various vendor API - at the time of this writing (nov 2011) it is available in [firefox nightly](http://blog.pearce.org.nz/2011/11/firefoxs-html-full-screen-api-enabled.html), [webkit nightly](http://peter.sh/2011/01/javascript-full-screen-api-navigation-timing-and-repeating-css-gradients/) and [chrome stable](http://updates.html5rocks.com/2011/10/Let-Your-Content-Do-the-Talking-Fullscreen-API).
Source:

Methods

<static> activated() → {boolean}

Test if fullscreen is currently activated
Source:
Returns:
true if fullscreen is currently activated, false otherwise
Type
boolean

<static> available() → {boolean}

test if it is possible to have fullscreen
Source:
Returns:
true if fullscreen API is available, false otherwise
Type
boolean

<static> bindKey(opts)

Bind a key to renderer screenshot
Parameters:
Name Type Description
opts Object
Properties
Name Type Argument Default Description
charcode Object <optional>
f
dblClick Object <optional>
false True to make it go fullscreen on double click
Source:

<static> cancel()

Cancel fullscreen
Source:

<static> request(element)

Request fullscreen on a given element
Parameters:
Name Type Description
element DomElement to make fullscreen. optional. default to document.body
Source: