Tooltip.setTextContent Method

Convenience method for setting the content based on a string. Converts the newline sequence (\n) into HTML markup.
 

Parameters

content

Type: String
The content.
isHTML

Type: Boolean
A value indicating whether the content is already HTML markup, or plain text that needs to be wrapped otherwise.