duration
Summary
See the duration member of the AnimationTimingReadOnly interface.
Real numbers less than zero, NaN values, and strings other than the lowercase value auto are treated the same as auto for the purpose of timing model calculations.
Property of apis/web animations/AnimationTimingPropertiesapis/web animations/AnimationTimingProperties
Syntax
var result = element.duration;
element.duration = value;