Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

[Feature] Performe actions in timeline #187

Open
Ladvace opened this issue Apr 11, 2023 · 1 comment
Open

[Feature] Performe actions in timeline #187

Ladvace opened this issue Apr 11, 2023 · 1 comment
Labels
Feature Feature request

Comments

@Ladvace
Copy link

Ladvace commented Apr 11, 2023

Is your feature request related to a problem? Please describe.
I don't know if there is already a way to do that but I would like to run some js code (whatever) between steps in a timeline

Describe the solution you'd like

const sequence = [
  ["nav", { x: 100 }, { duration: 1 }],
  // run some code here
  [{ action: ()  => {
  // code
  }],
  ["nav li", { opacity: 1 }, { duration: 0.3, delay: stagger(0.1) }],
]

timeline(sequence)
@Ladvace Ladvace added the Feature Feature request label Apr 11, 2023
@marpe
Copy link

marpe commented Jun 26, 2024

related to #130

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants