This page is In Progress

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

AnimationSequence

Summary

Animation sequences are represented by the AnimationSequence interface.

Inherits from AnimationGroupAnimationGroup

Properties

No properties.

Methods

No methods.

Events

No events.

Inherited from AnimationGroup

Properties

children
The list of child animation nodes in the group.
firstChild
The first child of this animation group.
lastChild
The last child of this animation group

Methods

append

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 null.

clone

Creates a deep copy of this AnimationGroup object using the following procedure.

Let source be this AnimationGroup object, the object to be cloned. Let cloned timing be a new AnimationTimingProperties object whose members are assigned the value of the attribute with the same name on source.timing. Let cloned children be an empty sequence of AnimationNode objects. For each child in source.children, append the result of calling child.clone() to cloned children. Return a new AnimationGroup object created by calling the AnimationGroup constructor with parameters AnimationGroup(cloned children, cloned timing).

constructor
:

prepend

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 the first child.

Events

No events.