Open nine-2-five opened 8 years ago
Hi @isvaljek ,
There's actually an undocumented attribute hljs-onhighlight
or onhighlight
.
The expression in it will execute whenever the hljs
directive starts to highlight the content.
If you want one for "after highlight", we'll have to add a new attribute like hljs-onafterhighlight
.
You can try hljs-onhighlight
first, see if it solves your problem.
What is the status of this? It would be useful to have a complete event too, so we know when the content is rendered. Could it be possible @pc035860 ? Thanks.
@gala132 I think the on documented hljs-onhighlight
may solve the issue. No response from @isvaljek yet. You can try it yourself.
I have a large dataset that binds to a view with ng-repeat. Is there an event that triggers when the updated dom with hljs js and css is done? I need a height of the list so I can scrollTo bottom.