Creates a SplitText object.
Version:
GreenSock Docs
SplitTextPlugin
SplitText()
.SplitText( target:*, vars:Object ) ;
Creates a SplitText object.
Parameters
target: *
The source element (or array of elements or selector object or selector text) whose text should be split apart. For example, yourElement
or "#yourElementID"
or$(".yourClass")
or [element1, element2, element3]
are all valid.
vars: Object
(default = null
) — a configuration object defining any of the following values: type, charsClass, wordsClass, linesClass
, or position
.
