diff --git a/app/helloworld.js b/app/helloworld.js index 0db7cb5..d9fed91 100644 --- a/app/helloworld.js +++ b/app/helloworld.js @@ -3,13 +3,16 @@ AFRAME.registerComponent('helloworld', { foo: { type:"string"} }, - dependencies:{ + requires:{ "html": "https://unpkg.com/aframe-htmlmesh@2.1.0/build/aframe-html.js", // html to AFRAME "stylis": "https://unpkg.com/stylis@4.3.1/dist/umd/stylis.js" // modern CSS (https://stylis.js.org) }, + dependencies: ['windowmanager'], + dom: { scale: 3.5, + modal: true, events: ['click','input'], html: (me) => `