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
|
|
|
}}
|
2022-04-18 20:10:12 +00:00
|
|
|
|
|
|
|
<div id="{{id}}"{{#class}} class="{{.}}"{{/class}} {{{html-tooltip}}} {{{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}}"
|
2022-04-18 20:10:12 +00:00
|
|
|
class="{{#checkbox-class}}{{.}} {{/checkbox-class}}vector-menu-checkbox"
|
|
|
|
aria-labelledby="{{id}}-label"
|
|
|
|
/>
|
2020-04-16 18:40:39 +00:00
|
|
|
{{/is-dropdown}}
|
2022-04-18 20:10:12 +00:00
|
|
|
{{#has-label}}
|
|
|
|
<label
|
|
|
|
id="{{id}}-label"
|
|
|
|
{{#aria-label}} aria-label="{{.}}"{{/aria-label}}
|
|
|
|
class="vector-menu-heading{{#heading-class}} {{.}}{{/heading-class}}"
|
|
|
|
>
|
2021-11-30 19:38:26 +00:00
|
|
|
{{{html-vector-heading-icon}}}<span class="vector-menu-heading-label">{{label}}</span>
|
2022-02-21 15:42:10 +00:00
|
|
|
</label>
|
2022-04-18 20:10:12 +00:00
|
|
|
{{/has-label}}
|
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>
|
2022-04-18 20:10:12 +00:00
|
|
|
</div>
|