8000 Add queue and chain logic · Issue #1 · Keyframes/Keyframes · GitHub
[go: up one dir, main page]

Skip to content

Add queue and chain logic #1

@krazyjakee

Description

@krazyjakee
  • The queue function will add a "play" object or string (or array of them) to a queue.

  • If the queue was previously empty, the queue will be executed and animations will begin immediately.

  • Callbacks will be available for each animation and when the queue is empty.

  • Queue items can be added at any time.

  • A clearQueue function will reset the animation and clear all items from the queue

  • The existing play function will use the queue logic but clear the queue each time it's invoked.

  • A chain function, though similar to queue, will clear the queue before filling it up again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0