webvr-dom

0.1.0 • Public • Published

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

/webvr-dom/

    Package Sidebar

    Install

    npm i webvr-dom

    Weekly Downloads

    2

    Version

    0.1.0

    License

    Apache 2.0

    Last publish

    Collaborators

    • makesites