Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Anim #9

Open
3 of 7 tasks
twitwi opened this issue Feb 7, 2023 · 0 comments
Open
3 of 7 tasks

Improve Anim #9

twitwi opened this issue Feb 7, 2023 · 0 comments

Comments

@twitwi
Copy link
Owner

twitwi commented Feb 7, 2023

  • Rework @code @codec @math @step etc so that they are uniform, ideally without variants (just @code, @math) and use generic things like {3-4} for highlight vs 3-4 for show
  • Refactor the above rework and add @child
  • Allow the same across shadowRoot [...temp0.querySelectorAll(".mermaid")].flatMap(e=>[...e.shadowRoot.querySelectorAll('::part(sr)')]) (<- a kind of polyfill, as it works in css not js, or with deprecated custom ::shadow) ... ie, split the string at ::part and do the cascade)
  • Consider more coherent stuff as {} highlight only the specified but [] shows the specified (does not hide the rest), either have another ()? or document the use of {} with some CSS to make it appear/hide
  • Test the use of clickElements (as in the CodeWrapper) to have a no-bug integration with pdf export -> was done, but remove the -1 (it is there in the CodeWrapper but I'm not sure why and it cause the missing last step in the overview)
  • Allow to play/pause/seek videos, need to be synced across views...
  • Make/update the demo accordingly
@twitwi twitwi changed the title Allow anim to play/pause/seek videos Improve Anim Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant