SeregPie/VueWordCloud

custom renderer for the words slot ignore default style.

qarty1 opened this issue · 1 comments

i have some words with different weight each word,,
i want to trigger click event for each word.
i make this action follow README.md use custom renderer slot.

but use this, it ignore default word style weighted.

need click event prop like @wordClick, or i think custom words slot should be not ignore default style(weighted word size, color ...)

or i missed something?

i have some words with different weight each word,,
i want to trigger click event for each word.
i make this action follow README.md use custom renderer slot.

but use this, it ignore default word style weighted.

need click event prop like @wordClick, or i think custom words slot should be not ignore default style(weighted word size, color ...)

or i missed something?

i found my mistake.
i was wrap <div> for slot words . remove this <div> will solve problem.