optgroup function
Node
optgroup(
{ - bool? disabled,
- String? label,
- String? id,
- dynamic className,
- dynamic style,
- Map<String, dynamic> p = const {},
- @deprecated Map<String, dynamic> props = const {},
- Iterable<Node> c = const [],
- @deprecated Iterable<Node> children = const [],
})
Implementation
Node optgroup(
{bool? disabled,
String? label,
String? id,
className,
style,
Map<String, dynamic> p = const {},
@deprecated Map<String, dynamic> props = const {},
Iterable<Node> c = const [],
@deprecated Iterable<Node> children = const []}) =>
h(
'optgroup',
_apply([
p,
props
], {
'disabled': disabled,
'label': label,
'id': id,
'class': className,
'style': style
}),
[...c, ...children]);