vue-markdown
vue-markdown copied to clipboard
When "rendered" event is triggered the dom is still not ready
I have this:
<vue-markdown :source="content" v-on:rendered="afterRenderContent"></vue-markdown>
But when the method afterRenderContent is triggered the HTML elements are still not there.
I would like to do DOM HTML elements manipulation after the rendering but I can not. What is the proper way to wait until the DOM is ready?
I have tried to create a JSFiddle to reproduce the issue but looks like the CDN library is no loading properly:
- https://jsfiddle.net/fguillen/5wamjxke/