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(); +}