0.1.0 • Published 10 years ago
webvr-dom v0.1.0
WebVR: DOM
A shim of rendering the DOM for VR devices.
Install
$ npm install webvr-domUsage
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