platform/packages/jael/jael_web/lib/src/dom_builder.dart
Tobe O edfd785dfe Add 'packages/jael/' from commit 'af168281d94cda98a8fd333618696e92f4e035c5'
git-subtree-dir: packages/jael
git-subtree-mainline: 834de0300f
git-subtree-split: af168281d9
2020-02-15 18:22:11 -05:00

14 lines
313 B
Dart

abstract class DomBuilder<T> {
DomBuilderElement<T> append(
String tagName, void Function(DomBuilderElement<T>) f);
void text(String value);
}
abstract class DomBuilderElement<T> extends DomBuilder<T> {
void attr(String name, [String value]);
void attrs(Map<String, String> map);
T close();
}