menu function

DomNode menu(
  1. {String label,
  2. String type,
  3. String id,
  4. dynamic className,
  5. dynamic style,
  6. Map<String, dynamic> p = const {},
  7. @deprecated Map<String, dynamic> props = const {},
  8. Iterable<DomNode> c = const [],
  9. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode menu(
        {String label,
        String type,
        String id,
        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
        }),
        []..addAll(c ?? [])..addAll(children ?? []));