-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,7 +166,7 @@ need to know the component's npm package name and the path: | |
<html> | ||
<head> | ||
<title>360° Image Browser</title> | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-template-component.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-layout-component.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -419,7 +419,7 @@ Now we can include it into our HTML: | |
```html | ||
<html> | ||
<head> | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-particle-system-component.min.js"></script> | ||
</head> | ||
<body> | ||
|
@@ -440,7 +440,7 @@ Now we can include it into our HTML: | |
```html | ||
<html> | ||
<head> | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-particle-system-component.min.js"></script> | ||
</head> | ||
<body> | ||
|
@@ -475,7 +475,7 @@ Registry and using the JSDELIVR CDN. This example can also be viewed in the [A- | |
<head> | ||
<title>Community Components Example</title> | ||
<meta name="description" content="Community Components Example"> | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-particle-system-component@a5a8449/dist/aframe-particle-system-component.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/aframe-simple-sun-sky@^1.2.2/simple-sun-sky.js"></script> | ||
<script src="https://cdn.jsdelivr.net/gh/c-frame/aframe-extras@d5f3f8/dist/aframe-extras.min.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,7 @@ If we want to change the color of a box on hover and restore it when no longer | |
hovering: | ||
|
||
```html | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script> | ||
<body> | ||
<a-scene> | ||
|
@@ -157,7 +157,7 @@ ${selector}`. If we want to display a text label when an entity is hovered | |
over: | ||
|
||
```html | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script> | ||
<body> | ||
<a-scene> | ||
|
@@ -180,7 +180,7 @@ properties using A-Frame component dot syntax (i.e., | |
`${componentName}.${propertyName}`): | ||
|
||
```html | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/aframe-event-set-component.min.js"></script> | ||
<body> | ||
<a-scene> | ||
|
@@ -213,7 +213,7 @@ To demonstrate what the event set component does under the hood, let's have a | |
box change color on hover and on leaving hover with JavaScript: | ||
|
||
```html | ||
<script src="https://aframe.io/releases/1.4.0/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/1.5.0/aframe.min.js"></script> | ||
<script> | ||
AFRAME.registerComponent('change-color-on-hover', { | ||
schema: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters