An open API service indexing awesome lists of open source software.

https://github.com/ideaspacevr/aframe-ui-modal-component

Example:
https://github.com/ideaspacevr/aframe-ui-modal-component

Last synced: about 1 year ago
JSON representation

Example:

Awesome Lists containing this project

README

          

# aframe-ui-modal-component

Create a modal dialog or floating menu in A-Frame.

### Properties

| Property | Description | Default Value |
| ---------------- | ----------- | ------------- |
| trigger | Event to make dialog or menu visible. | `click` |
| triggerElement | Element to which the trigger event listener will be applied. | `a-scene` |
| zpos | Position the dialog or menu on the z-axis. In meters. | -4 |

### Usage

#### Browser Installation

Install and use by directly including the [browser files](dist):

```html

My A-Frame Scene











```

### Examples

- http://ideaspacevr.github.io/aframe-ui-modal-component
- https://www.ideaspacevr.org/themes/ideaspace-360