aframe-aline-component
v1.0.0
Published
A Line component for A-Frame.
Downloads
5
Maintainers
Readme
aframe-aline-component
A A Line component 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.2.0/aframe.min.js"></script>
<script src="https://rawgit.com/casonclagg/aline-component/master/dist/aframe-aline-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity aline="exampleProp: exampleVal"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-aline-component
Then register and use.
require('aframe');
require('aframe-aline-component');