Open fguillen opened 4 years ago
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.
afterRenderContent
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:
I have this:
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: