th function

DomNode th(
  1. {String abbr,
  2. num colspan,
  3. dynamic headers,
  4. num rowspan,
  5. String scope,
  6. dynamic sorted,
  7. String id,
  8. dynamic className,
  9. dynamic style,
  10. Map<String, dynamic> p = const {},
  11. @deprecated Map<String, dynamic> props = const {},
  12. Iterable<DomNode> c = const [],
  13. @deprecated Iterable<DomNode> children = const []}
)

Implementation

DomNode th(
        {String abbr,
        num colspan,
        headers,
        num rowspan,
        String scope,
        sorted,
        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(
        'th',
        _apply([
          p,
          props
        ], {
          'abbr': abbr,
          'colspan': colspan,
          'headers': headers,
          'rowspan': rowspan,
          'scope': scope,
          'sorted': sorted,
          'id': id,
          'class': className,
          'style': style
        }),
        []..addAll(c ?? [])..addAll(children ?? []));