Optionaloptions: { mode?: "nodeSize" | "textSize"; node?: Node }The options for the character count. (optional)
Optionalmode?: "nodeSize" | "textSize"The mode by which the size is calculated. If set to textSize, the textContent of the document is used.
Optionalnode?: NodeThe node to get the characters from. Defaults to the current document.
Get the number of words for the current document.
Optionaloptions: { node?: Node }The options for the character count. (optional)
Optionalnode?: NodeThe node to get the words from. Defaults to the current document.
Get the number of characters for the current document.