area function

ElementNode area({
  1. Object? key,
  2. Ref<Element?>? ref,
  3. String? accesskey,
  4. String? className,
  5. String? contenteditable,
  6. String? dir,
  7. String? draggable,
  8. String? hidden,
  9. String? id,
  10. String? lang,
  11. String? spellcheck,
  12. String? style,
  13. String? tabindex,
  14. String? title,
  15. String? alt,
  16. String? coords,
  17. String? shape,
  18. String? href,
  19. String? target,
  20. String? download,
  21. String? rel,
  22. String? hreflang,
  23. String? type,
  24. String? referrerpolicy,
  25. EventListener<UIEvent>? onabort,
  26. EventListener<Event>? onafterprint,
  27. EventListener<Event>? onbeforeprint,
  28. EventListener<BeforeUnloadEvent>? onbeforeunload,
  29. EventListener<FocusEvent>? onblur,
  30. EventListener<MouseEvent>? onclick,
  31. EventListener<Event>? onchange,
  32. EventListener<CompositionEvent>? oncompositionend,
  33. EventListener<CompositionEvent>? oncompositionstart,
  34. EventListener<CompositionEvent>? oncompositionupdate,
  35. EventListener<MouseEvent>? oncontextmenu,
  36. EventListener<MouseEvent>? ondblclick,
  37. EventListener<MouseEvent>? ondrag,
  38. EventListener<MouseEvent>? ondragend,
  39. EventListener<MouseEvent>? ondragenter,
  40. EventListener<MouseEvent>? ondragleave,
  41. EventListener<MouseEvent>? ondragover,
  42. EventListener<MouseEvent>? ondragstart,
  43. EventListener<MouseEvent>? ondrop,
  44. EventListener<UIEvent>? onerror,
  45. EventListener<FocusEvent>? onfocus,
  46. EventListener<FocusEvent>? onfocusin,
  47. EventListener<FocusEvent>? onfocusout,
  48. EventListener<HashChangeEvent>? onhashchange,
  49. EventListener<Event>? oninput,
  50. EventListener<Event>? oninvalid,
  51. EventListener<KeyboardEvent>? onkeydown,
  52. EventListener<KeyboardEvent>? onkeyup,
  53. EventListener<Event>? onlanguagechange,
  54. EventListener<UIEvent>? onload,
  55. EventListener<MouseEvent>? onmousedown,
  56. EventListener<MouseEvent>? onmouseenter,
  57. EventListener<MouseEvent>? onmouseleave,
  58. EventListener<MouseEvent>? onmousemove,
  59. EventListener<MouseEvent>? onmouseout,
  60. EventListener<MouseEvent>? onmouseover,
  61. EventListener<MouseEvent>? onmouseup,
  62. EventListener<PageTransitionEvent>? onpagehide,
  63. EventListener<PageTransitionEvent>? onpageshow,
  64. EventListener<PopStateEvent>? onpopstate,
  65. EventListener<Event>? onreset,
  66. EventListener<UIEvent>? onresize,
  67. EventListener<UIEvent>? onscroll,
  68. EventListener<UIEvent>? onselect,
  69. EventListener<MouseEvent>? onshow,
  70. EventListener<Event>? onsubmit,
  71. EventListener<UIEvent>? onunload,
  72. EventListener<WheelEvent>? onwheel,
  73. Iterable<DeactNode>? children,
})

Implementation

ElementNode area({
  Object? key,
  Ref<h.Element?>? ref,
  String? accesskey,
  String? className,
  String? contenteditable,
  String? dir,
  String? draggable,
  String? hidden,
  String? id,
  String? lang,
  String? spellcheck,
  String? style,
  String? tabindex,
  String? title,
  String? alt,
  String? coords,
  String? shape,
  String? href,
  String? target,
  String? download,
  String? rel,
  String? hreflang,
  String? type,
  String? referrerpolicy,
  EventListener<h.UIEvent>? onabort,
  EventListener<h.Event>? onafterprint,
  EventListener<h.Event>? onbeforeprint,
  EventListener<h.BeforeUnloadEvent>? onbeforeunload,
  EventListener<h.FocusEvent>? onblur,
  EventListener<h.MouseEvent>? onclick,
  EventListener<h.Event>? onchange,
  EventListener<h.CompositionEvent>? oncompositionend,
  EventListener<h.CompositionEvent>? oncompositionstart,
  EventListener<h.CompositionEvent>? oncompositionupdate,
  EventListener<h.MouseEvent>? oncontextmenu,
  EventListener<h.MouseEvent>? ondblclick,
  EventListener<h.MouseEvent>? ondrag,
  EventListener<h.MouseEvent>? ondragend,
  EventListener<h.MouseEvent>? ondragenter,
  EventListener<h.MouseEvent>? ondragleave,
  EventListener<h.MouseEvent>? ondragover,
  EventListener<h.MouseEvent>? ondragstart,
  EventListener<h.MouseEvent>? ondrop,
  EventListener<h.UIEvent>? onerror,
  EventListener<h.FocusEvent>? onfocus,
  EventListener<h.FocusEvent>? onfocusin,
  EventListener<h.FocusEvent>? onfocusout,
  EventListener<h.HashChangeEvent>? onhashchange,
  EventListener<h.Event>? oninput,
  EventListener<h.Event>? oninvalid,
  EventListener<h.KeyboardEvent>? onkeydown,
  EventListener<h.KeyboardEvent>? onkeyup,
  EventListener<h.Event>? onlanguagechange,
  EventListener<h.UIEvent>? onload,
  EventListener<h.MouseEvent>? onmousedown,
  EventListener<h.MouseEvent>? onmouseenter,
  EventListener<h.MouseEvent>? onmouseleave,
  EventListener<h.MouseEvent>? onmousemove,
  EventListener<h.MouseEvent>? onmouseout,
  EventListener<h.MouseEvent>? onmouseover,
  EventListener<h.MouseEvent>? onmouseup,
  EventListener<h.PageTransitionEvent>? onpagehide,
  EventListener<h.PageTransitionEvent>? onpageshow,
  EventListener<h.PopStateEvent>? onpopstate,
  EventListener<h.Event>? onreset,
  EventListener<h.UIEvent>? onresize,
  EventListener<h.UIEvent>? onscroll,
  EventListener<h.UIEvent>? onselect,
  EventListener<h.MouseEvent>? onshow,
  EventListener<h.Event>? onsubmit,
  EventListener<h.UIEvent>? onunload,
  EventListener<h.WheelEvent>? onwheel,
  Iterable<DeactNode>? children,
}) {
  final attributes = <String, Object>{};
  if (accesskey != null) {
    attributes['accesskey'] = accesskey;
  }
  if (className != null) {
    attributes['class'] = className;
  }
  if (contenteditable != null) {
    attributes['contenteditable'] = contenteditable;
  }
  if (dir != null) {
    attributes['dir'] = dir;
  }
  if (draggable != null) {
    attributes['draggable'] = draggable;
  }
  if (hidden != null) {
    attributes['hidden'] = hidden;
  }
  if (id != null) {
    attributes['id'] = id;
  }
  if (lang != null) {
    attributes['lang'] = lang;
  }
  if (spellcheck != null) {
    attributes['spellcheck'] = spellcheck;
  }
  if (style != null) {
    attributes['style'] = style;
  }
  if (tabindex != null) {
    attributes['tabindex'] = tabindex;
  }
  if (title != null) {
    attributes['title'] = title;
  }
  if (alt != null) {
    attributes['alt'] = alt;
  }
  if (coords != null) {
    attributes['coords'] = coords;
  }
  if (shape != null) {
    attributes['shape'] = shape;
  }
  if (href != null) {
    attributes['href'] = href;
  }
  if (target != null) {
    attributes['target'] = target;
  }
  if (download != null) {
    attributes['download'] = download;
  }
  if (rel != null) {
    attributes['rel'] = rel;
  }
  if (hreflang != null) {
    attributes['hreflang'] = hreflang;
  }
  if (type != null) {
    attributes['type'] = type;
  }
  if (referrerpolicy != null) {
    attributes['referrerpolicy'] = referrerpolicy;
  }
  final listeners = <String, Object>{};
  if (onabort != null) {
    listeners['onabort'] = onabort;
  }
  if (onafterprint != null) {
    listeners['onafterprint'] = onafterprint;
  }
  if (onbeforeprint != null) {
    listeners['onbeforeprint'] = onbeforeprint;
  }
  if (onbeforeunload != null) {
    listeners['onbeforeunload'] = onbeforeunload;
  }
  if (onblur != null) {
    listeners['onblur'] = onblur;
  }
  if (onclick != null) {
    listeners['onclick'] = onclick;
  }
  if (onchange != null) {
    listeners['onchange'] = onchange;
  }
  if (oncompositionend != null) {
    listeners['oncompositionend'] = oncompositionend;
  }
  if (oncompositionstart != null) {
    listeners['oncompositionstart'] = oncompositionstart;
  }
  if (oncompositionupdate != null) {
    listeners['oncompositionupdate'] = oncompositionupdate;
  }
  if (oncontextmenu != null) {
    listeners['oncontextmenu'] = oncontextmenu;
  }
  if (ondblclick != null) {
    listeners['ondblclick'] = ondblclick;
  }
  if (ondrag != null) {
    listeners['ondrag'] = ondrag;
  }
  if (ondragend != null) {
    listeners['ondragend'] = ondragend;
  }
  if (ondragenter != null) {
    listeners['ondragenter'] = ondragenter;
  }
  if (ondragleave != null) {
    listeners['ondragleave'] = ondragleave;
  }
  if (ondragover != null) {
    listeners['ondragover'] = ondragover;
  }
  if (ondragstart != null) {
    listeners['ondragstart'] = ondragstart;
  }
  if (ondrop != null) {
    listeners['ondrop'] = ondrop;
  }
  if (onerror != null) {
    listeners['onerror'] = onerror;
  }
  if (onfocus != null) {
    listeners['onfocus'] = onfocus;
  }
  if (onfocusin != null) {
    listeners['onfocusin'] = onfocusin;
  }
  if (onfocusout != null) {
    listeners['onfocusout'] = onfocusout;
  }
  if (onhashchange != null) {
    listeners['onhashchange'] = onhashchange;
  }
  if (oninput != null) {
    listeners['oninput'] = oninput;
  }
  if (oninvalid != null) {
    listeners['oninvalid'] = oninvalid;
  }
  if (onkeydown != null) {
    listeners['onkeydown'] = onkeydown;
  }
  if (onkeyup != null) {
    listeners['onkeyup'] = onkeyup;
  }
  if (onlanguagechange != null) {
    listeners['onlanguagechange'] = onlanguagechange;
  }
  if (onload != null) {
    listeners['onload'] = onload;
  }
  if (onmousedown != null) {
    listeners['onmousedown'] = onmousedown;
  }
  if (onmouseenter != null) {
    listeners['onmouseenter'] = onmouseenter;
  }
  if (onmouseleave != null) {
    listeners['onmouseleave'] = onmouseleave;
  }
  if (onmousemove != null) {
    listeners['onmousemove'] = onmousemove;
  }
  if (onmouseout != null) {
    listeners['onmouseout'] = onmouseout;
  }
  if (onmouseover != null) {
    listeners['onmouseover'] = onmouseover;
  }
  if (onmouseup != null) {
    listeners['onmouseup'] = onmouseup;
  }
  if (onpagehide != null) {
    listeners['onpagehide'] = onpagehide;
  }
  if (onpageshow != null) {
    listeners['onpageshow'] = onpageshow;
  }
  if (onpopstate != null) {
    listeners['onpopstate'] = onpopstate;
  }
  if (onreset != null) {
    listeners['onreset'] = onreset;
  }
  if (onresize != null) {
    listeners['onresize'] = onresize;
  }
  if (onscroll != null) {
    listeners['onscroll'] = onscroll;
  }
  if (onselect != null) {
    listeners['onselect'] = onselect;
  }
  if (onshow != null) {
    listeners['onshow'] = onshow;
  }
  if (onsubmit != null) {
    listeners['onsubmit'] = onsubmit;
  }
  if (onunload != null) {
    listeners['onunload'] = onunload;
  }
  if (onwheel != null) {
    listeners['onwheel'] = onwheel;
  }
  return el(
    'area',
    key: key,
    ref: ref,
    attributes: attributes,
    listeners: listeners,
    children: children,
  );
}