appendElementInnerHTML function
void
appendElementInnerHTML(
- HTMLElement element,
- String html, {
- @Deprecated("`NodeValidator` not implemented on package `web`") Object? validator,
- bool unsafe = false,
Appends to the inner HTML of element
with parsed result of html
.
Implementation
void appendElementInnerHTML(HTMLElement element, String html,
{@Deprecated("`NodeValidator` not implemented on package `web`")
Object? validator,
bool unsafe = false}) {
element.insertAdjacentHTML("beforeend", html.toJS);
}