2019-03-23 18:49:37 +00:00
|
|
|
import 'builder_node.dart';
|
|
|
|
import 'dom_node.dart';
|
|
|
|
|
|
|
|
Map<String, dynamic> _apply(Iterable<Map<String, dynamic>> props,
|
2021-06-20 12:37:20 +00:00
|
|
|
[Map<String, dynamic>? attrs]) {
|
2019-03-23 18:49:37 +00:00
|
|
|
var map = {};
|
|
|
|
attrs?.forEach((k, attr) {
|
2021-06-20 12:37:20 +00:00
|
|
|
if (attr is String && attr.isNotEmpty == true) {
|
2019-03-23 18:49:37 +00:00
|
|
|
map[k] = attr;
|
2021-06-20 12:37:20 +00:00
|
|
|
} else if (attr is Iterable && attr.isNotEmpty == true) {
|
2019-03-23 18:49:37 +00:00
|
|
|
map[k] = attr.toList();
|
|
|
|
} else if (attr != null) {
|
|
|
|
map[k] = attr;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
for (var p in props) {
|
2021-06-20 12:37:20 +00:00
|
|
|
map.addAll(p);
|
2019-03-23 18:49:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return map.cast<String, dynamic>();
|
|
|
|
}
|
|
|
|
|
|
|
|
DomNode a(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? href,
|
|
|
|
String? rel,
|
|
|
|
String? target,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'a',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'href': href,
|
|
|
|
'rel': rel,
|
|
|
|
'target': target,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style,
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode abbr(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? title,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'addr',
|
|
|
|
_apply([p, props],
|
|
|
|
{'title': title, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode address(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'address',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode area(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? alt,
|
|
|
|
Iterable<num>? coordinates,
|
|
|
|
String? download,
|
|
|
|
String? href,
|
|
|
|
String? hreflang,
|
|
|
|
String? media,
|
|
|
|
String? nohref,
|
|
|
|
String? rel,
|
|
|
|
String? shape,
|
|
|
|
String? target,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'area',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'alt': alt,
|
|
|
|
'coordinates': coordinates,
|
|
|
|
'download': download,
|
|
|
|
'href': href,
|
|
|
|
'hreflang': hreflang,
|
|
|
|
'media': media,
|
|
|
|
'nohref': nohref,
|
|
|
|
'rel': rel,
|
|
|
|
'shape': shape,
|
|
|
|
'target': target,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode article(
|
|
|
|
{className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('article', _apply([p, props], {'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode aside(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'aside',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode audio(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autoplay,
|
|
|
|
bool? controls,
|
|
|
|
bool? loop,
|
|
|
|
bool? muted,
|
|
|
|
String? preload,
|
|
|
|
String? src,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'audio',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autoplay': autoplay,
|
|
|
|
'controls': controls,
|
|
|
|
'loop': loop,
|
|
|
|
'muted': muted,
|
|
|
|
'preload': preload,
|
|
|
|
'src': src,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode b(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('b', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode base(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? href,
|
|
|
|
String? target,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'base',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'href': href,
|
|
|
|
'target': target,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode bdi(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('bdi', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode bdo(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? dir,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'bdo',
|
|
|
|
_apply([p, props],
|
|
|
|
{'dir': dir, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode blockquote(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? cite,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'blockquote',
|
|
|
|
_apply([p, props],
|
|
|
|
{'cite': cite, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode body(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'body',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode br() => h('br');
|
|
|
|
|
|
|
|
DomNode button(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autofocus,
|
|
|
|
bool? disabled,
|
2019-03-23 18:49:37 +00:00
|
|
|
form,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? formaction,
|
|
|
|
String? formenctype,
|
|
|
|
String? formmethod,
|
|
|
|
bool? formnovalidate,
|
|
|
|
String? formtarget,
|
|
|
|
String? name,
|
|
|
|
String? type,
|
|
|
|
String? value,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'button',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autofocus': autofocus,
|
|
|
|
'disabled': disabled,
|
|
|
|
'form': form,
|
|
|
|
'formaction': formaction,
|
|
|
|
'formenctype': formenctype,
|
|
|
|
'formmethod': formmethod,
|
|
|
|
'formnovalidate': formnovalidate,
|
|
|
|
'formtarget': formtarget,
|
|
|
|
'name': name,
|
|
|
|
'type': type,
|
|
|
|
'value': value,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode canvas(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? height,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'canvas',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'height': height,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode cite(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'cite',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode caption(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'caption',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode code(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'code',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode col(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? span,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'col',
|
|
|
|
_apply([p, props],
|
|
|
|
{'span': span, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode colgroup(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? span,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'colgroup',
|
|
|
|
_apply([p, props],
|
|
|
|
{'span': span, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode datalist(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'datalist',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode dd(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('dd', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode del(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? cite,
|
|
|
|
String? datetime,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'del',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'cite': cite,
|
|
|
|
'datetime': datetime,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode details(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? open,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'details',
|
|
|
|
_apply([p, props],
|
|
|
|
{'open': open, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode dfn(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? title,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'dfn',
|
|
|
|
_apply([p, props],
|
|
|
|
{'title': title, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode dialog(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? open,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'dialog',
|
|
|
|
_apply([p, props],
|
|
|
|
{'open': open, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode div(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('div', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode dl(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('dl', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode dt(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('dt', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode em(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('em', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode embed(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? height,
|
|
|
|
String? src,
|
|
|
|
String? type,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'embed',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'height': height,
|
|
|
|
'src': src,
|
|
|
|
'type': type,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode fieldset(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? disabled,
|
|
|
|
String? form,
|
|
|
|
String? name,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'fieldset',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'disabled': disabled,
|
|
|
|
'form': form,
|
|
|
|
'name': name,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode figcaption(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'figcaption',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode figure(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'figure',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode footer(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'footer',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode form(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? accept,
|
|
|
|
String? acceptCharset,
|
|
|
|
String? action,
|
|
|
|
bool? autocomplete,
|
|
|
|
String? enctype,
|
|
|
|
String? method,
|
|
|
|
String? name,
|
|
|
|
bool? novalidate,
|
|
|
|
String? target,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'form',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'accept': accept,
|
|
|
|
'accept-charset': acceptCharset,
|
|
|
|
'action': action,
|
|
|
|
'autocomplete':
|
|
|
|
autocomplete != null ? (autocomplete ? 'on' : 'off') : null,
|
|
|
|
'enctype': enctype,
|
|
|
|
'method': method,
|
|
|
|
'name': name,
|
|
|
|
'novalidate': novalidate,
|
|
|
|
'target': target,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode h1(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h1', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode h2(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h2', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
DomNode h3(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h3', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode h4(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h4', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode h5(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h5', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode h6(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('h6', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode head(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'head',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode header(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'header',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode hr() => h('hr');
|
|
|
|
|
|
|
|
DomNode html(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? manifest,
|
|
|
|
String? xmlns,
|
|
|
|
String? lang,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'html',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'manifest': manifest,
|
|
|
|
'xmlns': xmlns,
|
|
|
|
'lang': lang,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode i(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('i', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode iframe(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? height,
|
|
|
|
String? name,
|
2019-03-23 18:49:37 +00:00
|
|
|
sandbox,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? src,
|
|
|
|
String? srcdoc,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'iframe',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'height': height,
|
|
|
|
'name': name,
|
|
|
|
'sandbox': sandbox,
|
|
|
|
'src': src,
|
|
|
|
'srcdoc': srcdoc,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode img(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? alt,
|
|
|
|
String? crossorigin,
|
|
|
|
num? height,
|
|
|
|
String? ismap,
|
|
|
|
String? longdesc,
|
2019-03-23 18:49:37 +00:00
|
|
|
sizes,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? src,
|
|
|
|
String? srcset,
|
|
|
|
String? usemap,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'img',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'alt': alt,
|
|
|
|
'crossorigin': crossorigin,
|
|
|
|
'height': height,
|
|
|
|
'ismap': ismap,
|
|
|
|
'longdesc': longdesc,
|
|
|
|
'sizes': sizes,
|
|
|
|
'src': src,
|
|
|
|
'srcset': srcset,
|
|
|
|
'usemap': usemap,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode input(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? accept,
|
|
|
|
String? alt,
|
|
|
|
bool? autocomplete,
|
|
|
|
bool? autofocus,
|
|
|
|
bool? checked,
|
|
|
|
String? dirname,
|
|
|
|
bool? disabled,
|
|
|
|
String? form,
|
|
|
|
String? formaction,
|
|
|
|
String? formenctype,
|
|
|
|
String? method,
|
|
|
|
String? formnovalidate,
|
|
|
|
String? formtarget,
|
|
|
|
num? height,
|
|
|
|
String? list,
|
2019-03-23 18:49:37 +00:00
|
|
|
max,
|
2021-06-20 12:37:20 +00:00
|
|
|
num? maxlength,
|
2019-03-23 18:49:37 +00:00
|
|
|
min,
|
2021-06-20 12:37:20 +00:00
|
|
|
bool? multiple,
|
|
|
|
String? name,
|
|
|
|
String? pattern,
|
|
|
|
String? placeholder,
|
|
|
|
bool? readonly,
|
|
|
|
bool? required,
|
|
|
|
num? size,
|
|
|
|
String? src,
|
|
|
|
num? step,
|
|
|
|
String? type,
|
|
|
|
String? value,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'input',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'accept': accept,
|
|
|
|
'alt': alt,
|
|
|
|
'autocomplete':
|
|
|
|
autocomplete == null ? null : (autocomplete ? 'on' : 'off'),
|
|
|
|
'autofocus': autofocus,
|
|
|
|
'checked': checked,
|
|
|
|
'dirname': dirname,
|
|
|
|
'disabled': disabled,
|
|
|
|
'form': form,
|
|
|
|
'formaction': formaction,
|
|
|
|
'formenctype': formenctype,
|
|
|
|
'method': method,
|
|
|
|
'formnovalidate': formnovalidate,
|
|
|
|
'formtarget': formtarget,
|
|
|
|
'height': height,
|
|
|
|
'list': list,
|
|
|
|
'max': max,
|
|
|
|
'maxlength': maxlength,
|
|
|
|
'min': min,
|
|
|
|
'multiple': multiple,
|
|
|
|
'name': name,
|
|
|
|
'pattern': pattern,
|
|
|
|
'placeholder': placeholder,
|
|
|
|
'readonly': readonly,
|
|
|
|
'required': required,
|
|
|
|
'size': size,
|
|
|
|
'src': src,
|
|
|
|
'step': step,
|
|
|
|
'type': type,
|
|
|
|
'value': value,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode ins(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? cite,
|
|
|
|
String? datetime,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'ins',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'cite': cite,
|
|
|
|
'datetime': datetime,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode kbd(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('kbd', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode keygen(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autofocus,
|
|
|
|
String? challenge,
|
|
|
|
bool? disabled,
|
|
|
|
String? from,
|
|
|
|
String? keytype,
|
|
|
|
String? name,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'keygen',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autofocus': autofocus,
|
|
|
|
'challenge': challenge,
|
|
|
|
'disabled': disabled,
|
|
|
|
'from': from,
|
|
|
|
'keytype': keytype,
|
|
|
|
'name': name,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode label(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? for_,
|
|
|
|
String? form,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'label',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'for': for_,
|
|
|
|
'form': form,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode legend(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'legend',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode li(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? value,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'li',
|
|
|
|
_apply([p, props],
|
|
|
|
{'value': value, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode link(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? crossorigin,
|
|
|
|
String? href,
|
|
|
|
String? hreflang,
|
|
|
|
String? media,
|
|
|
|
String? rel,
|
2019-03-23 18:49:37 +00:00
|
|
|
sizes,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? target,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'link',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'crossorigin': crossorigin,
|
|
|
|
'href': href,
|
|
|
|
'hreflang': hreflang,
|
|
|
|
'media': media,
|
|
|
|
'rel': rel,
|
|
|
|
'sizes': sizes,
|
|
|
|
'target': target,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode main(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'main',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode map(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? name,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'map',
|
|
|
|
_apply([p, props],
|
|
|
|
{'name': name, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode mark(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'mark',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode menu(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? label,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'menu',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'label': label,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode menuitem(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? checked,
|
2019-03-23 18:49:37 +00:00
|
|
|
command,
|
2021-06-20 12:37:20 +00:00
|
|
|
bool? default_,
|
|
|
|
bool? disabled,
|
|
|
|
String? icon,
|
|
|
|
String? label,
|
|
|
|
String? radiogroup,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'menuitem',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'checked': checked,
|
|
|
|
'command': command,
|
|
|
|
'default': default_,
|
|
|
|
'disabled': disabled,
|
|
|
|
'icon': icon,
|
|
|
|
'label': label,
|
|
|
|
'radiogroup': radiogroup,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode meta(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? charset,
|
|
|
|
String? content,
|
|
|
|
String? httpEquiv,
|
|
|
|
String? name,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'meta',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'charset': charset,
|
|
|
|
'content': content,
|
|
|
|
'http-equiv': httpEquiv,
|
|
|
|
'name': name,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode nav(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('nav', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode noscript(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'noscript',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode object(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? data,
|
|
|
|
String? form,
|
|
|
|
num? height,
|
|
|
|
String? name,
|
|
|
|
String? type,
|
|
|
|
String? usemap,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'object',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'data': data,
|
|
|
|
'form': form,
|
|
|
|
'height': height,
|
|
|
|
'name': name,
|
|
|
|
'type': type,
|
|
|
|
'usemap': usemap,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode ol(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? reversed,
|
|
|
|
num? start,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'ol',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'reversed': reversed,
|
|
|
|
'start': start,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode optgroup(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? disabled,
|
|
|
|
String? label,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'optgroup',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'disabled': disabled,
|
|
|
|
'label': label,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode option(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? disabled,
|
|
|
|
String? label,
|
|
|
|
bool? selected,
|
|
|
|
String? value,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'option',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'disabled': disabled,
|
|
|
|
'label': label,
|
|
|
|
'selected': selected,
|
|
|
|
'value': value,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode output(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? for_,
|
|
|
|
String? form,
|
|
|
|
String? name,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'output',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'for': for_,
|
|
|
|
'form': form,
|
|
|
|
'name': name,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode p(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('p', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode param(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? name,
|
2019-03-23 18:49:37 +00:00
|
|
|
value,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'param',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'name': name,
|
|
|
|
'value': value,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode picture(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'picture',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode pre(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('pre', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode progress(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? max,
|
|
|
|
num? value,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'progress',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'max': max,
|
|
|
|
'value': value,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode q(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? cite,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'q',
|
|
|
|
_apply([p, props],
|
|
|
|
{'cite': cite, 'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode rp(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('rp', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode rt(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('rt', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode ruby(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'ruby',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode s(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('s', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode samp(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'samp',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode script(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? async,
|
|
|
|
String? charset,
|
|
|
|
bool? defer,
|
|
|
|
String? src,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'script',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'async': async,
|
|
|
|
'charset': charset,
|
|
|
|
'defer': defer,
|
|
|
|
'src': src,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode section(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'section',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode select(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autofocus,
|
|
|
|
bool? disabled,
|
|
|
|
String? form,
|
|
|
|
bool? multiple,
|
|
|
|
bool? required,
|
|
|
|
num? size,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'select',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autofocus': autofocus,
|
|
|
|
'disabled': disabled,
|
|
|
|
'form': form,
|
|
|
|
'multiple': multiple,
|
|
|
|
'required': required,
|
|
|
|
'size': size,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode small(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'small',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode source(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? src,
|
|
|
|
String? srcset,
|
|
|
|
String? media,
|
2019-03-23 18:49:37 +00:00
|
|
|
sizes,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'source',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'src': src,
|
|
|
|
'srcset': srcset,
|
|
|
|
'media': media,
|
|
|
|
'sizes': sizes,
|
|
|
|
'type': type,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode span(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'span',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode strong(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'strong',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode style(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? media,
|
|
|
|
bool? scoped,
|
|
|
|
String? type,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'style',
|
|
|
|
_apply([p, props],
|
|
|
|
{'media': media, 'scoped': scoped, 'type': type, 'id': id}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode sub(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('sub', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode summary(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'summary',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode sup(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('sup', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode table(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? sortable,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'table',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'sortable': sortable,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode tbody(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'tbody',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode td(
|
2021-06-20 12:37:20 +00:00
|
|
|
{num? colspan,
|
2019-03-23 18:49:37 +00:00
|
|
|
headers,
|
2021-06-20 12:37:20 +00:00
|
|
|
num? rowspan,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'td',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'colspan': colspan,
|
|
|
|
'headers': headers,
|
|
|
|
'rowspan': rowspan,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode textarea(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autofocus,
|
|
|
|
num? cols,
|
|
|
|
String? dirname,
|
|
|
|
bool? disabled,
|
|
|
|
String? form,
|
|
|
|
num? maxlength,
|
|
|
|
String? name,
|
|
|
|
String? placeholder,
|
|
|
|
bool? readonly,
|
|
|
|
bool? required,
|
|
|
|
num? rows,
|
|
|
|
String? wrap,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'textarea',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autofocus': autofocus,
|
|
|
|
'cols': cols,
|
|
|
|
'dirname': dirname,
|
|
|
|
'disabled': disabled,
|
|
|
|
'form': form,
|
|
|
|
'maxlength': maxlength,
|
|
|
|
'name': name,
|
|
|
|
'placeholder': placeholder,
|
|
|
|
'readonly': readonly,
|
|
|
|
'required': required,
|
|
|
|
'rows': rows,
|
|
|
|
'wrap': wrap,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode tfoot(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'tfoot',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode th(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? abbr,
|
|
|
|
num? colspan,
|
2019-03-23 18:49:37 +00:00
|
|
|
headers,
|
2021-06-20 12:37:20 +00:00
|
|
|
num? rowspan,
|
|
|
|
String? scope,
|
2019-03-23 18:49:37 +00:00
|
|
|
sorted,
|
2021-06-20 12:37:20 +00:00
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'th',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'abbr': abbr,
|
|
|
|
'colspan': colspan,
|
|
|
|
'headers': headers,
|
|
|
|
'rowspan': rowspan,
|
|
|
|
'scope': scope,
|
|
|
|
'sorted': sorted,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode thead(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'thead',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode time(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? datetime,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'time',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'datetime': datetime,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode title(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'title',
|
|
|
|
_apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode tr(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('tr', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode track(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? default_,
|
|
|
|
String? kind,
|
|
|
|
String? label,
|
|
|
|
String? src,
|
|
|
|
String? srclang,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {}}) =>
|
|
|
|
h(
|
|
|
|
'track',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'default': default_,
|
|
|
|
'kind': kind,
|
|
|
|
'label': label,
|
|
|
|
'src': src,
|
|
|
|
'srclang': srclang,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}));
|
|
|
|
|
|
|
|
DomNode u(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('u', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode ul(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('ul', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode var_(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('var', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode video(
|
2021-06-20 12:37:20 +00:00
|
|
|
{bool? autoplay,
|
|
|
|
bool? controls,
|
|
|
|
num? height,
|
|
|
|
bool? loop,
|
|
|
|
bool? muted,
|
|
|
|
String? poster,
|
|
|
|
String? preload,
|
|
|
|
String? src,
|
|
|
|
num? width,
|
|
|
|
String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h(
|
|
|
|
'video',
|
|
|
|
_apply([
|
|
|
|
p,
|
|
|
|
props
|
|
|
|
], {
|
|
|
|
'autoplay': autoplay,
|
|
|
|
'controls': controls,
|
|
|
|
'height': height,
|
|
|
|
'loop': loop,
|
|
|
|
'muted': muted,
|
|
|
|
'poster': poster,
|
|
|
|
'preload': preload,
|
|
|
|
'src': src,
|
|
|
|
'width': width,
|
|
|
|
'id': id,
|
|
|
|
'class': className,
|
|
|
|
'style': style
|
|
|
|
}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|
2019-03-23 18:49:37 +00:00
|
|
|
|
|
|
|
DomNode wbr(
|
2021-06-20 12:37:20 +00:00
|
|
|
{String? id,
|
2019-03-23 18:49:37 +00:00
|
|
|
className,
|
|
|
|
style,
|
|
|
|
Map<String, dynamic> p: const {},
|
|
|
|
@deprecated Map<String, dynamic> props: const {},
|
|
|
|
Iterable<DomNode> c: const [],
|
|
|
|
@deprecated Iterable<DomNode> children: const []}) =>
|
|
|
|
h('wbr', _apply([p, props], {'id': id, 'class': className, 'style': style}),
|
2021-06-20 12:37:20 +00:00
|
|
|
[]..addAll(c)..addAll(children));
|