SeregPie / VueWordCloud

Generates a cloud out of the words.
https://seregpie.github.io/VueWordCloud/
MIT License
376 stars 59 forks source link

[Feature request] Emit an event when render is done #25

Closed tiagofscoelho closed 6 years ago

tiagofscoelho commented 6 years ago

It is possible to emit an event when the render process is done? This way we can avoid an empty div (by showing a loading spinner or something else) while the render is being performed.

Something like this would be great:

<vue-word-cloud @ready="SOME_FUNCTION"/>
tiagofscoelho commented 6 years ago

Any information regarding this feature request @SeregPie ?

SeregPie commented 6 years ago

Yes. I'm working on that in my free time.

SeregPie commented 6 years ago

You can watch the process with process.sync. I need to write it to readme, but meanwhile you can check the demo to see how it works.