method

text

text(text)
public

Called when text is encountered in the document @p text the text content.