0.1.0 • Published 8 years ago

webvr-dom v0.1.0

Weekly downloads
4
License
Apache 2.0
Repository
github
Last release
8 years ago

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