From 6c7dbc72e823f86d3703c5d95a3c8562bceb1e0a Mon Sep 17 00:00:00 2001 From: Diego Marcos Segura Date: Tue, 14 Nov 2023 14:35:57 -0800 Subject: [PATCH] Bump docs to 1.5.0 --- docs/components/animation.md | 4 +-- docs/components/embedded.md | 2 +- docs/components/material.md | 2 +- docs/components/text.md | 2 +- docs/guides/building-a-360-image-gallery.md | 2 +- docs/guides/building-a-basic-scene.md | 4 +-- docs/guides/building-a-minecraft-demo.md | 32 +++++++++---------- docs/introduction/entity-component-system.md | 6 ++-- docs/introduction/faq.md | 2 +- docs/introduction/html-and-primitives.md | 8 ++--- docs/introduction/index.md | 2 +- docs/introduction/installation.md | 8 ++--- .../interactions-and-controllers.md | 8 ++--- package.json | 2 +- 14 files changed, 42 insertions(+), 42 deletions(-) diff --git a/docs/components/animation.md b/docs/components/animation.md index 240f450e01c..20b4df3bd50 100644 --- a/docs/components/animation.md +++ b/docs/components/animation.md @@ -114,7 +114,7 @@ Accessed as `el.components.animation.`. ### Controlling Animations using setAttribute -Like any A-Frame component, the animation component can be configured from JavaScript by calling [setAttribute()]( https://aframe.io/docs/1.4.0/introduction/javascript-events-dom-apis.html#updating-a-component-with-setattribute) on an element. +Like any A-Frame component, the animation component can be configured from JavaScript by calling [setAttribute()]( https://aframe.io/docs/1.5.0/introduction/javascript-events-dom-apis.html#updating-a-component-with-setattribute) on an element. By default, the animation will begin playing immediately (autoplay is true by default). @@ -154,7 +154,7 @@ To start an animation by explicitly emitting an event, you can do the following: el.emit(`startanim001`, null, false); ``` -The [third parameter of emit](https://aframe.io/docs/1.4.0/core/entity.html#emit-name-detail-bubbles) set to "false" parameter ensures the event won't bubble up to parents, so that you can target the animation at just one particular element. +The [third parameter of emit](https://aframe.io/docs/1.5.0/core/entity.html#emit-name-detail-bubbles) set to "false" parameter ensures the event won't bubble up to parents, so that you can target the animation at just one particular element. This assumes that an animation has already been configured to respond to that custom start event, for example like this: diff --git a/docs/components/embedded.md b/docs/components/embedded.md index 5e07526613d..143b195607b 100644 --- a/docs/components/embedded.md +++ b/docs/components/embedded.md @@ -34,7 +34,7 @@ a-scene { An inline example of an embedded scene: - +