Skip to content
Stephen Becker IV edited this page May 8, 2014 · 1 revision

Redraw and resizing

Sometimes you need to do this. Using jQuery it might look like something like this:

jQcloud sets a width during its first run. Reset to 100% before calling jQcloud again

$(element).css("width", "100%") $(element).empty().jQcloud(words)

Or when you empty also calculate the width and pass it in as an option.

Clone this wiki locally