setHTML method

Popup setHTML(
  1. String? html
)

Sets the popup's content to the HTML provided as a string.

This method does not perform HTML filtering or sanitization, and must be used only with trusted content. Consider {@link Popup#setText} if the content is an untrusted text string.

@param html A string representing HTML content for the popup. @returns {Popup} this

Implementation

Popup setHTML(String? html) => Popup.fromJsObject(jsObject.setHTML(html));