innerHtml property

String? get innerHtml

Implementation

String? get innerHtml => _innerHtml;
set innerHtml (String? html)

Parses the HTML fragment and sets it as the contents of this element.

This uses the default sanitization behavior to sanitize the HTML fragment, use setInnerHtml to override the default behavior.

Implementation

set innerHtml(String? html) {
  this.setInnerHtml(html);
}