webvr-dom
v0.1.0
Published
A shim to support DOM rendering for VR devices
Downloads
19
Readme
WebVR: DOM
A shim of rendering the DOM for VR devices.
Install
$ npm install webvr-dom
Usage
Initiate after all the DOM elements are rendered:
VRDOM();
If you don't want to convert the whole body
you can pass the element as an option in the method:
var el = document.getElementById('main');
VRDOM({ el: el });
Options
- update: Automatically monitor updates in the element and re-render
Credits
Initiated by Makis Tracend
Started as a Makesites Hackathon
Distributed through Makesites.org
Released under the Apatche license v2.0