I don't think you can, directly.
You have to turn each letter into an element (a div or span typically)
I'm reading the source, but can't see where he does this exactly. (I'm a javascript newbie) Edit: look in explosion.coffee, function explosifyText
It uses string split and puts the chars in either a word or particle element.
I'm reading the source, but can't see where he does this exactly.
(I'm a javascript newbie)
Edit: look in explosion.coffee, function explosifyText It uses string split and puts the chars in either a word or particle element.