baseInnerHtml property
Implementation
@nonVirtual
String get baseInnerHtml {
var wrapper = HTMLTemplateElement();
wrapper.appendChild(_baseInnerElement!);
return wrapper.getHTML();
}
Unlike RenderComponent, setting the baseInnerHtml
does not update
baseInnerElement, because this component is not designed +to be rendered
independently. You need to reprint the component to the parent's component
(update its baseInnerHtml
with this component string asString
), and
re-attach it with _attachToRenderComponent
again.
Implementation
@override
@nonVirtual
set baseInnerHtml(String baseInnerHtml) {
_rawBaseInnerHtml = baseInnerHtml;
}