mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 08:35:42 +00:00
769818514d
The Portal component is only ever used inside the MainMenu component Change-Id: I3a3c58b11416f28c58f02a8bdfdacfbb7df6de9b
14 lines
479 B
Plaintext
14 lines
479 B
Plaintext
{{!
|
|
See @typedef MenuDefinition
|
|
}}
|
|
<div id="{{id}}" class="vector-main-menu-group vector-menu vector-menu-portal portal{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-user-language-attributes}}}>
|
|
<div
|
|
id="{{id}}-label"
|
|
class="vector-menu-heading{{#heading-class}} {{.}}{{/heading-class}}"
|
|
{{#aria-label}}aria-label="{{.}}"{{/aria-label}}
|
|
>
|
|
{{{html-vector-heading-icon}}}<span class="vector-menu-heading-label">{{label}}</span>
|
|
</div>
|
|
{{>MenuContents}}
|
|
</div>
|