This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

replace

Summary

Replaces this AnimationNode with the passed in nodes.

If there is no parent animation group, terminate these steps. If any of the animation nodes in nodes is an inclusive ancestor of the parent animation group throw a HierarchyRequestError exception and terminate these steps. Let reference child be the next sibling of this animation node not in nodes. Remove this animation node from its parent animation group. Insert nodes before reference child.

Method of apis/web animations/AnimationNodeapis/web animations/AnimationNode

Syntax

var  = .replace();

Return Value

Returns an object of type