Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

Attribute Delay, Iterations, Fill not working #33

@grvraj82

Description

@grvraj82

<div class="small"><img src="images/01.jpg" /></div> var smallContent = document.querySelector('.small'); new KeyframeEffect(smallContent, [{ 'opacity': 1 }, { 'opacity': 0 }], { duration: 7, fill: 'forwards', delay:5000, iterations:1 })

In the above keyframe effect, the below mentioned options are not working:

  1. Delay
  2. Iterations
  3. Fill

From html page we can only call either “play()” to start the animation or “cancel” to stop and remove the animation.
How to handle “Pause” and “Finish” animations?

Also, no documentation regarding, how to pass values to “additionalTimelines_” variable of “WorkletAnimation” class.
Need your input.

Tried Browser versions:

  1. Google Chrome - 64.0.3282.186
  2. IE 11
  3. IE Edge

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions