Jump to content
GreenSock

SplitText

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.

Show More

Details

Creates a SplitText object.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×