$h function

DOMElement $h(
  1. int n, {
  2. Object? id,
  3. Object? classes,
  4. Object? style,
  5. Map<String, String>? attributes,
  6. Object? content,
  7. bool? hidden,
  8. bool commented = false,
})

Creates a h$N node (h1, h2, h3...).

Implementation

DOMElement $h(int n,
        {Object? id,
        Object? classes,
        Object? style,
        Map<String, String>? attributes,
        Object? content,
        bool? hidden,
        bool commented = false}) =>
    $tag('h$n',
        id: id,
        classes: classes,
        style: style,
        attributes: attributes,
        content: content,
        hidden: hidden,
        commented: commented);