This page is readiness-state

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

constructor

Method of apis/web_animations/Animationapis/web_animations/Animation

Syntax

var newAnimation = .constructor(target, timing, effect);

Parameters

target

Data-type
Object

type Animatable

effect

Data-type
Object

timing

Data-type
Object

(Optional)

type is either unrestricted double or AnimationTimingInput object

Return Value

Returns an object of type