aframe-dialog-popup-component
Provides a component that constructs a toggle-able dialog with a title, description, image, and close button.
Last updated 2 years ago by patrickocoffeyo .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install aframe-dialog-popup-component 
SYNC missed versions from official npm registry.

aframe-dialog-popup-component

Version License

Provides a component that constructs a toggle-able dialog with a title, description, image, and

For A-Frame.

API

Property Description Default Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-dialog-popup-component/dist/aframe-dialog-popup-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity dialog-popup="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-dialog-popup-component

Then require and use.

require('aframe');
require('aframe-dialog-popup-component');

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 3
Last Day 1
Last Week 1
Last Month 4
Dependencies (1)
Dev Dependencies (33)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |