From eb29750ca2cfd5ffbf5b5b5707349e109be00d43 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 23 Mar 2019 10:00:39 -0400 Subject: [PATCH] DomBuilder base --- jael_web/lib/src/dom_builder.dart | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 jael_web/lib/src/dom_builder.dart diff --git a/jael_web/lib/src/dom_builder.dart b/jael_web/lib/src/dom_builder.dart new file mode 100644 index 00000000..0657ac95 --- /dev/null +++ b/jael_web/lib/src/dom_builder.dart @@ -0,0 +1,9 @@ +abstract class DomBuilder { + DomBuilderElement open(String tagName); + + void emitText(String value); +} + +abstract class DomBuilderElement implements DomBuilder { + T close(); +}