th function

Node 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. Iterable<Node> c = const [],
})

Implementation

Node th({
  String? abbr,
  num? colspan,
  headers,
  num? rowspan,
  String? scope,
  sorted,
  String? id,
  className,
  style,
  Map<String, dynamic> p = const {},
  Iterable<Node> c = const [],
}) =>
    h(
        'th',
        _apply([
          p
        ], {
          'abbr': abbr,
          'colspan': colspan,
          'headers': headers,
          'rowspan': rowspan,
          'scope': scope,
          'sorted': sorted,
          'id': id,
          'class': className,
          'style': style
        }),
        [...c]);