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.

before

Summary

Inserts nodes before this animation node.

If there is no parent animation group, terminate these steps. If any of the animation nodes in nodes is an inclusive ancestor of this animation node throw a HierarchyRequestError exception and terminate these steps. Insert nodes before this animation node. Note that this definition precludes the following usage since node is an inclusive ancestor of itself:

       node.before(node); // throws HierarchyRequestError

Method of apis/web_animations/AnimationNodeapis/web_animations/AnimationNode

Syntax

var  = .before(AnimationNode...nodes);

Parameters

AnimationNode…nodes

Data-type
Object

Takes a series of AnimationNodes as an object.

Return Value

Returns an object of type