VectorGOLEM/includes/templates/VectorMenu.mustache
Jan Drewniak 093cc20ee0 Extract VectorMenu.mustache component from VectorTemplate
Extracts a new VectorMenu mustache component from VectorTemplate.
VectorMenu is the "more" menu that appears at small widths instead of the
Read/Edit/View History menu near the top of the Vector skin.

Bug: T239248, T240062
Change-Id: I41b1ec949d81303abddadb981741445572c939e3
2020-01-14 10:38:46 -08:00

18 lines
502 B
Plaintext

{{!
string|null empty-portlet
string msg-label
string menu-id
string menu-label-id
string|null html-items
string|null html-userlangattributes
}}
<div id="{{menu-id}}" role="navigation" class="vectorMenu {{empty-portlet}}" aria-labelledby="{{menu-label-id}}">
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{menu-label-id}}" />
<h3 id="{{menu-label-id}}">
<span>{{msg-label}}</span>
</h3>
<ul class="menu" {{{html-userlangattributes}}}>
{{{html-items}}}
</ul>
</div>