a function

Element a(
  1. dynamic children, {
  2. String? href,
  3. String? target,
  4. String? id,
  5. String? className,
  6. Map<String, dynamic>? attributes,
  7. dynamic onClick(
    1. MouseEvent
    )?,
})

Implementation

Element a(
  dynamic children, {
  String? href,
  String? target,
  String? id,
  String? className,
  Map<String, dynamic>? attributes,
  Function(web.MouseEvent)? onClick,
}) => _el(
  'a',
  children,
  id: id,
  className: className,
  attributes: {'href': href, 'target': target, ...?attributes},
  events: {'click': ?onClick},
);