rough-notation
rough-notation copied to clipboard
Idea: callback after animation
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.