Index: pkg/custom_element/lib/custom_element.dart |
diff --git a/pkg/custom_element/lib/custom_element.dart b/pkg/custom_element/lib/custom_element.dart |
index 7f963657540721468310bd2e7a7cd212e97930ba..db0c3b82d3c87e701e88022f4ae849c560f977b6 100644 |
--- a/pkg/custom_element/lib/custom_element.dart |
+++ b/pkg/custom_element/lib/custom_element.dart |
@@ -313,6 +313,20 @@ class CustomElement implements Element { |
host.innerHtml = v; |
} |
+ void setInnerHtml(String html, |
+ {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
+ host.setInnerHtml(html, validator: validator, treeSanitizer: treeSanitizer); |
+ } |
+ |
+ void set unsafeInnerHtml(String html) { |
+ host.unsafeInnerHtml = html; |
+ } |
+ |
+ DocumentFragment createFragment(String html, |
+ {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) => |
+ host.createFragment(html, |
+ validator: validator, treeSanitizer: treeSanitizer); |
+ |
InputMethodContext get inputMethodContext => host.inputMethodContext; |
bool get isContentEditable => host.isContentEditable; |