JavaScript animation engine
fix staggering example
Julian Garnierc8dacabfdea8
diff --git a/documentation/examples/advanced-staggering-2.html b/documentation/examples/advanced-staggering-2.htmlindex 90715b32..172c77ef 100644--- a/documentation/examples/advanced-staggering-2.html+++ b/documentation/examples/advanced-staggering-2.html@@ -93,7 +93,7 @@nextIndex = anime.random(0, numberOfElements);- anime.setValue('.cursor', {+ anime.set('.cursor', {translateX: anime.stagger('-38px', {grid: [24, 11], from: index, axis: 'x'}),translateY: anime.stagger('-38px', {grid: [24, 11], from: index, axis: 'y'})});diff --git a/documentation/examples/advanced-staggering.html b/documentation/examples/advanced-staggering.htmlindex 941b6a3a..cfa8d372 100644--- a/documentation/examples/advanced-staggering.html+++ b/documentation/examples/advanced-staggering.html@@ -92,7 +92,7 @@nextIndex = anime.random(0, numberOfElements);- anime.setValue('.cursor', {+ anime.set('.cursor', {translateX: anime.stagger('-1rem', {grid: [16, 16], from: index, axis: 'x'}),translateY: anime.stagger('-1rem', {grid: [16, 16], from: index, axis: 'y'})});