load() instead of event listeners
This commit is contained in:
5
src/components/tutorial-2d.js
Normal file
5
src/components/tutorial-2d.js
Normal file
@@ -0,0 +1,5 @@
|
||||
AFRAME.registerComponent('tutorial-2d', {
|
||||
play: function () {
|
||||
document.getElementById('tutorial2d').style.display = 'none';
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user