Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

web animation api keyframe options

// Web Animation API Keyframes options
var options = {
  iterations: Infinity,
  iterationStart: 0,
  delay: 0,
  endDelay: 0,
  direction: 'alternate',
  duration: 700,
  fill: 'forwards',
  easing: 'ease-out',
}
element.animate(keyframes, options);
 
PREVIOUS NEXT
Tagged: #web #animation #api #keyframe #options
ADD COMMENT
Topic
Name
3+2 =