rough-notation icon indicating copy to clipboard operation
rough-notation copied to clipboard

Idea: callback after animation

Open dimavolo opened this issue 4 years ago • 0 comments

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.

dimavolo avatar Dec 20 '20 06:12 dimavolo