Run javascript after annotations have been highlighted? #5046
tomcritchlow
started this conversation in
General
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You could also use the CSS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I have hypothesis embedded on my blog website. I'm trying to style the annotations so that they have a little comment icon next to them (to better signal to readers that yellow highlight = annotation).
I have some code like this:
Which adds a commenticon div next to the annotation highlight.
My question: how do I run this function only after the highlights have finished loading? Is there a callback or something I can hook into?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions