2020-01-09 10:59:09 +00:00
|
|
|
{{!
|
2020-05-06 00:00:56 +00:00
|
|
|
See @typedef MenuDefinition
|
2020-01-09 10:59:09 +00:00
|
|
|
}}
|
2020-05-13 22:46:23 +00:00
|
|
|
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
2021-10-25 15:55:42 +00:00
|
|
|
<nav id="{{id}}"{{#class}} class="{{.}}"{{/class}} aria-labelledby="{{id}}-label" role="navigation" {{{html-tooltip}}}
|
2020-07-14 21:40:28 +00:00
|
|
|
{{{html-user-language-attributes}}}>
|
2020-05-06 00:00:56 +00:00
|
|
|
{{#is-dropdown}}
|
2021-06-24 21:51:23 +00:00
|
|
|
<input type="checkbox"
|
2021-08-13 20:56:51 +00:00
|
|
|
id="{{id}}-checkbox"
|
2021-08-30 22:27:15 +00:00
|
|
|
role="button"
|
|
|
|
aria-haspopup="true"
|
2021-06-24 21:51:23 +00:00
|
|
|
data-event-name="ui.dropdown-{{id}}"
|
2021-09-29 12:06:07 +00:00
|
|
|
class="{{#checkbox-class}}{{.}} {{/checkbox-class}}vector-menu-checkbox" aria-labelledby="{{id}}-label" />
|
2020-04-16 18:40:39 +00:00
|
|
|
{{/is-dropdown}}
|
2021-09-29 12:06:07 +00:00
|
|
|
<h3 id="{{id}}-label" aria-label="{{aria-label}}"{{#heading-class}} class="{{.}}"{{/heading-class}}{{^is-legacy}} aria-hidden="true"{{/is-legacy}}>
|
2021-05-18 18:27:33 +00:00
|
|
|
{{{html-vector-heading-icon}}}
|
|
|
|
<span>{{label}}</span>
|
2021-08-30 22:27:15 +00:00
|
|
|
{{#is-dropdown}}
|
|
|
|
<span class="vector-menu-checkbox-expanded">{{msg-vector-menu-checkbox-expanded}}</span>
|
|
|
|
<span class="vector-menu-checkbox-collapsed">{{msg-vector-menu-checkbox-collapsed}}</span>
|
|
|
|
{{/is-dropdown}}
|
2020-05-06 00:00:56 +00:00
|
|
|
</h3>
|
2020-09-04 19:34:05 +00:00
|
|
|
<div class="vector-menu-content">
|
2021-06-03 21:37:01 +00:00
|
|
|
{{{html-before-portal}}}
|
2020-09-04 19:34:05 +00:00
|
|
|
<ul class="vector-menu-content-list">{{{html-items}}}</ul>
|
2020-04-07 23:21:20 +00:00
|
|
|
{{{html-after-portal}}}
|
|
|
|
</div>
|
2020-05-13 22:46:23 +00:00
|
|
|
</nav>
|