$a function

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

Creates an a node.

Implementation

DOMElement $a({
  Object? id,
  Object? classes,
  Object? style,
  Map<String, String>? attributes,
  String? href,
  String? target,
  Object? content,
  bool? hidden,
  bool commented = false,
}) => $tag(
  'a',
  id: id,
  classes: classes,
  style: style,
  attributes: {'href': ?href, 'target': ?target, ...?attributes},
  content: content,
  hidden: hidden,
  commented: commented,
);