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