aframe-3d-calendar-component
v1.0.2
Published
A A-Frame 3D Calendar component for A-Frame.
Downloads
11
Maintainers
Readme
aframe-3d-calendar-component
A A-Frame 3D Calendar component for A-Frame.
For A-Frame.
API
| Property | Description | Default Value | | -------- | ----------- | ------------- | | locale | | en | | color | | white | | colorDays| | #1589CC | | mode | | full | | datas | | [] |
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.6.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/Tiska/aframe-3d-calendar-component/master/dist/aframe-3d-calendar-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity a-frame-3d-calendar-component="locale: en; color: blue; colorDays: colorDays; mode: full"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-3d-calendar-component
Then require and use.
require('aframe');
require('aframe-3d-calendar-component');