mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
62d0cf8d92
Bug: T284542 Change-Id: Ib019c616bc53ebab50ed9eeef05b6d9712958f38
21 lines
718 B
Plaintext
21 lines
718 B
Plaintext
{{!
|
|
See @typedef MenuDefinition
|
|
}}
|
|
{{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }}
|
|
<nav id="{{id}}" {{#class}}class="{{.}}"{{/class}} aria-labelledby="{{id}}-label" role="navigation" {{{html-tooltip}}}
|
|
{{{html-user-language-attributes}}}>
|
|
{{#is-dropdown}}
|
|
<input type="checkbox"
|
|
data-event-name="ui.dropdown-{{id}}"
|
|
class="vector-menu-checkbox" aria-labelledby="{{id}}-label" />
|
|
{{/is-dropdown}}
|
|
<h3 id="{{id}}-label" {{#heading-class}}class="{{.}}"{{/heading-class}}>
|
|
<span>{{label}}</span>
|
|
</h3>
|
|
<div class="vector-menu-content">
|
|
{{{html-before-portal}}}
|
|
<ul class="vector-menu-content-list">{{{html-items}}}</ul>
|
|
{{{html-after-portal}}}
|
|
</div>
|
|
</nav>
|