OptionalautoThe maximum number of characters that should be allowed. Defaults to 0.
The mode by which the size is calculated. If set to textSize, the textContent of the document is used.
If set to nodeSize, the nodeSize of the document is used.
The text counter function to use. Defaults to a simple character count.
The word counter function to use. Defaults to a simple word count.
Sets whether the content will be automatically trimmed when programatically setting content over the limit. If set to false, the user will be able to trim the text manually.