From 6bd6f76d5c1fb76d27be19b875df86383a7db6fd Mon Sep 17 00:00:00 2001 From: Kewal Kishan Gokuldas Date: Sun, 17 Nov 2024 01:53:49 -0800 Subject: [PATCH] kept only startEvents in example and redirect link fix --- docs/components/animation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/animation.md b/docs/components/animation.md index b50b7d338c6..a7217cd3b0f 100644 --- a/docs/components/animation.md +++ b/docs/components/animation.md @@ -141,7 +141,7 @@ We can use the `startEvents` property to animate upon events: material="color: red" animation__mouseenter="property: components.material.material.color; type: color; to: blue; startEvents: mouseenter; dur: 500"; animation__mouseleave="property: components.material.material.color; type: color; to: red; startEvents: mouseleave; dur: 500"; - animation__customevent="property: components.material.material.color; type: color; from: red; to: blue; startEvents: startanim001; pauseEvents: startanim002; resumeEvents : startanim003; dur: 500";> + animation__customevent="property: components.material.material.color; type: color; from: red; to: blue; startEvents: startanim001; dur: 500";> ``` @@ -149,7 +149,7 @@ We can use the `startEvents` property to animate upon events: [Remix the Animating on Events Glitch][eventsglitch]. -To start an animation by explicitly [emitting a custom event][https://aframe.io/docs/1.6.0/introduction/javascript-events-dom-apis.html#emitting-an-event-with-emit], you can do the following: +To start an animation by explicitly [emitting a custom event](https://aframe.io/docs/1.6.0/introduction/javascript-events-dom-apis.html#emitting-an-event-with-emit), you can do the following: ``` el.emit(`startanim001`, null, false);