UNPKG
angle
Version:
latest (0.9.1)
0.9.1
0.9.0
0.8.2
0.8.1
0.8.0
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.4
0.5.3
0.5.1
0.5.0
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.2.0
0.1.0
0.0.2
0.0.1
0.0.0
General purpose command-line tool for A-Frame.
github.com/aframevr/angle
aframevr/angle
angle
/
templates
/
localcomponent.js
16 lines
(13 loc)
•
250 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AFRAME.registerComponent(
'{{ componentName }}'
, { schema: { foo: {type:
'string'
} },
init
: function () {
var
el =
this
.el;
var
data
=
this
.
data
; }, update: function () {
var
el =
this
.el;
var
data
=
this
.
data
; } });