dt function

ElementNode dt({
  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. EventListener<UIEvent>? onabort,
  16. EventListener<Event>? onafterprint,
  17. EventListener<Event>? onbeforeprint,
  18. EventListener<BeforeUnloadEvent>? onbeforeunload,
  19. EventListener<FocusEvent>? onblur,
  20. EventListener<MouseEvent>? onclick,
  21. EventListener<Event>? onchange,
  22. EventListener<CompositionEvent>? oncompositionend,
  23. EventListener<CompositionEvent>? oncompositionstart,
  24. EventListener<CompositionEvent>? oncompositionupdate,
  25. EventListener<MouseEvent>? oncontextmenu,
  26. EventListener<MouseEvent>? ondblclick,
  27. EventListener<MouseEvent>? ondrag,
  28. EventListener<MouseEvent>? ondragend,
  29. EventListener<MouseEvent>? ondragenter,
  30. EventListener<MouseEvent>? ondragleave,
  31. EventListener<MouseEvent>? ondragover,
  32. EventListener<MouseEvent>? ondragstart,
  33. EventListener<MouseEvent>? ondrop,
  34. EventListener<UIEvent>? onerror,
  35. EventListener<FocusEvent>? onfocus,
  36. EventListener<FocusEvent>? onfocusin,
  37. EventListener<FocusEvent>? onfocusout,
  38. EventListener<HashChangeEvent>? onhashchange,
  39. EventListener<Event>? oninput,
  40. EventListener<Event>? oninvalid,
  41. EventListener<KeyboardEvent>? onkeydown,
  42. EventListener<KeyboardEvent>? onkeyup,
  43. EventListener<Event>? onlanguagechange,
  44. EventListener<UIEvent>? onload,
  45. EventListener<MouseEvent>? onmousedown,
  46. EventListener<MouseEvent>? onmouseenter,
  47. EventListener<MouseEvent>? onmouseleave,
  48. EventListener<MouseEvent>? onmousemove,
  49. EventListener<MouseEvent>? onmouseout,
  50. EventListener<MouseEvent>? onmouseover,
  51. EventListener<MouseEvent>? onmouseup,
  52. EventListener<PageTransitionEvent>? onpagehide,
  53. EventListener<PageTransitionEvent>? onpageshow,
  54. EventListener<PopStateEvent>? onpopstate,
  55. EventListener<Event>? onreset,
  56. EventListener<UIEvent>? onresize,
  57. EventListener<UIEvent>? onscroll,
  58. EventListener<UIEvent>? onselect,
  59. EventListener<MouseEvent>? onshow,
  60. EventListener<Event>? onsubmit,
  61. EventListener<UIEvent>? onunload,
  62. EventListener<WheelEvent>? onwheel,
  63. Iterable<DeactNode>? children,
})

Implementation

ElementNode dt({
  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,
  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;
  }
  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(
    'dt',
    key: key,
    ref: ref,
    attributes: attributes,
    listeners: listeners,
    children: children,
  );
}