$p function

DOMElement $p({
  1. Object? id,
  2. Object? classes,
  3. Object? style,
  4. Map<String, String>? attributes,
  5. Object? content,
  6. bool? hidden,
  7. String? role,
  8. String? ariaLabel,
  9. Map<String, Object?>? aria,
  10. int? tabIndex,
  11. bool commented = false,
})

Creates a p node.

Implementation

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