SeregPie / VueWordCloud

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

Animations doesn't work. #27

Closed jesusvalle closed 6 years ago

jesusvalle commented 6 years ago

Greetings. I have tried many values for setting the animationDuration property, but it doesn't work. I've tried putting a rotation also, but at page load it only print's the words rotated without any animation transition too.

I need any dependency? Thanks so much for your work.

vue-word-cloud(:words="wordsCloud.words", :color="(wordsParams.color)", :fontFamily='wordsParams.fontFamily', :fontSizeRatio='wordsParams.fontSizeRatio' :animationDuration='1000')

SeregPie commented 6 years ago

Look at the minimal example. Does it not work for you?

jesusvalle commented 6 years ago

No, it doesn't, i've tested it to.

I only want the minimum enter animation, something like the example in your demo https://seregpie.github.io/VueWordCloud/.

I'm using vue with typescript and pug, it could be a problem?

SeregPie commented 6 years ago

There is no enter or leave animation for now. Only change animation.

jesusvalle commented 6 years ago

Ok, thanks so much for your plugin and your time answering me.