DomBuilder base
This commit is contained in:
parent
3b0ed56e48
commit
eb29750ca2
1 changed files with 9 additions and 0 deletions
9
jael_web/lib/src/dom_builder.dart
Normal file
9
jael_web/lib/src/dom_builder.dart
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
abstract class DomBuilder<T> {
|
||||||
|
DomBuilderElement<T> open(String tagName);
|
||||||
|
|
||||||
|
void emitText(String value);
|
||||||
|
}
|
||||||
|
|
||||||
|
abstract class DomBuilderElement<T> implements DomBuilder<T> {
|
||||||
|
T close();
|
||||||
|
}
|
Loading…
Reference in a new issue