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

Idea: callback after animation #61

Open
dimavolo opened this issue Dec 20, 2020 · 0 comments
Open

Idea: callback after animation #61

dimavolo opened this issue Dec 20, 2020 · 0 comments

Comments

@dimavolo
Copy link

dimavolo commented Dec 20, 2020

I'd love to be able to add callbacks after individual group animations, like:

[...]
const a2 = annotate(elems[1], {callback: ()=>{}, type: 'highlight', color: this.$vuetify.theme.themes.light.primary })
[...]
const ag = annotationGroup([a1, a2, a3])
ag.show()

My use case, in this example, is I want to have a dark highlight, but after highlighting set the element text color to white, so that it doesn't get washed out.

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