We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49ff64f commit 45ec818Copy full SHA for 45ec818
css-animations-2/Overview.bs
@@ -131,13 +131,11 @@ elem.style.animation = 'move 1s';
131
let animation = elem.getAnimations()[0];
132
// animation.effect.target == elem == animation's owning element
133
134
-let mutableEffect = animation.effect.clone();
135
-animation.effect = mutableEffect;
136
animation.effect.target = elem2;
137
// animation.effect.target == elem2 != animation's owning element
138
139
animation.effect = null;
140
-// animation.effect.target is undefined != animation's owning element
+// animation.effect?.target is undefined != animation's owning element
141
</pre>
142
143
</div>
0 commit comments