nav function
ElementNode
nav(
{ - Object? key,
- Ref<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<UIEvent>? onabort,
- EventListener<Event>? onafterprint,
- EventListener<Event>? onbeforeprint,
- EventListener<BeforeUnloadEvent>? onbeforeunload,
- EventListener<FocusEvent>? onblur,
- EventListener<MouseEvent>? onclick,
- EventListener<Event>? onchange,
- EventListener<CompositionEvent>? oncompositionend,
- EventListener<CompositionEvent>? oncompositionstart,
- EventListener<CompositionEvent>? oncompositionupdate,
- EventListener<MouseEvent>? ondblclick,
- EventListener<MouseEvent>? ondrag,
- EventListener<MouseEvent>? ondragend,
- EventListener<MouseEvent>? ondragenter,
- EventListener<MouseEvent>? ondragleave,
- EventListener<MouseEvent>? ondragover,
- EventListener<MouseEvent>? ondragstart,
- EventListener<MouseEvent>? ondrop,
- EventListener<UIEvent>? onerror,
- EventListener<FocusEvent>? onfocus,
- EventListener<FocusEvent>? onfocusin,
- EventListener<FocusEvent>? onfocusout,
- EventListener<HashChangeEvent>? onhashchange,
- EventListener<Event>? oninput,
- EventListener<Event>? oninvalid,
- EventListener<KeyboardEvent>? onkeydown,
- EventListener<KeyboardEvent>? onkeyup,
- EventListener<Event>? onlanguagechange,
- EventListener<UIEvent>? onload,
- EventListener<MouseEvent>? onmousedown,
- EventListener<MouseEvent>? onmouseenter,
- EventListener<MouseEvent>? onmouseleave,
- EventListener<MouseEvent>? onmousemove,
- EventListener<MouseEvent>? onmouseout,
- EventListener<MouseEvent>? onmouseover,
- EventListener<MouseEvent>? onmouseup,
- EventListener<PageTransitionEvent>? onpagehide,
- EventListener<PageTransitionEvent>? onpageshow,
- EventListener<PopStateEvent>? onpopstate,
- EventListener<Event>? onreset,
- EventListener<UIEvent>? onresize,
- EventListener<UIEvent>? onscroll,
- EventListener<UIEvent>? onselect,
- EventListener<MouseEvent>? onshow,
- EventListener<Event>? onsubmit,
- EventListener<UIEvent>? onunload,
- EventListener<WheelEvent>? onwheel,
- Iterable<DeactNode>? children,
})
Implementation
ElementNode nav({
Object? key,
Ref<web.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<web.UIEvent>? onabort,
EventListener<web.Event>? onafterprint,
EventListener<web.Event>? onbeforeprint,
EventListener<web.BeforeUnloadEvent>? onbeforeunload,
EventListener<web.FocusEvent>? onblur,
EventListener<web.MouseEvent>? onclick,
EventListener<web.Event>? onchange,
EventListener<web.CompositionEvent>? oncompositionend,
EventListener<web.CompositionEvent>? oncompositionstart,
EventListener<web.CompositionEvent>? oncompositionupdate,
EventListener<web.MouseEvent>? oncontextmenu,
EventListener<web.MouseEvent>? ondblclick,
EventListener<web.MouseEvent>? ondrag,
EventListener<web.MouseEvent>? ondragend,
EventListener<web.MouseEvent>? ondragenter,
EventListener<web.MouseEvent>? ondragleave,
EventListener<web.MouseEvent>? ondragover,
EventListener<web.MouseEvent>? ondragstart,
EventListener<web.MouseEvent>? ondrop,
EventListener<web.UIEvent>? onerror,
EventListener<web.FocusEvent>? onfocus,
EventListener<web.FocusEvent>? onfocusin,
EventListener<web.FocusEvent>? onfocusout,
EventListener<web.HashChangeEvent>? onhashchange,
EventListener<web.Event>? oninput,
EventListener<web.Event>? oninvalid,
EventListener<web.KeyboardEvent>? onkeydown,
EventListener<web.KeyboardEvent>? onkeyup,
EventListener<web.Event>? onlanguagechange,
EventListener<web.UIEvent>? onload,
EventListener<web.MouseEvent>? onmousedown,
EventListener<web.MouseEvent>? onmouseenter,
EventListener<web.MouseEvent>? onmouseleave,
EventListener<web.MouseEvent>? onmousemove,
EventListener<web.MouseEvent>? onmouseout,
EventListener<web.MouseEvent>? onmouseover,
EventListener<web.MouseEvent>? onmouseup,
EventListener<web.PageTransitionEvent>? onpagehide,
EventListener<web.PageTransitionEvent>? onpageshow,
EventListener<web.PopStateEvent>? onpopstate,
EventListener<web.Event>? onreset,
EventListener<web.UIEvent>? onresize,
EventListener<web.UIEvent>? onscroll,
EventListener<web.UIEvent>? onselect,
EventListener<web.MouseEvent>? onshow,
EventListener<web.Event>? onsubmit,
EventListener<web.UIEvent>? onunload,
EventListener<web.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(
'nav',
key: key,
ref: ref,
attributes: attributes,
listeners: listeners,
children: children,
);
}