object function

DomNode object(
  1. {String data,
  2. String form,
  3. num height,
  4. String name,
  5. String type,
  6. String usemap,
  7. num width,
  8. String id,
  9. dynamic className,
  10. dynamic style,
  11. Map<String, dynamic> p = const {},
  12. @deprecated Map<String, dynamic> props = const {},
  13. Iterable<DomNode> c = const [],
  14. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode object(
        {String data,
        String form,
        num height,
        String name,
        String type,
        String usemap,
        num width,
        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(
        'object',
        _apply([
          p,
          props
        ], {
          'data': data,
          'form': form,
          'height': height,
          'name': name,
          'type': type,
          'usemap': usemap,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));