Forgot to add menuItem.html

This commit is contained in:
Thomas Wilburn 2014-01-22 12:17:22 -08:00
parent 1003b89965
commit 3b82bb37b3

17
templates/menuItem.html Normal file
View file

@ -0,0 +1,17 @@
<li
{{#command}}
command="{{command}}"
argument="{{argument}}"
{{/command}}
class="{{#hasChildren}}
{{#isRoot}}top{{/isRoot}}
{{^isRoot}}parent{{/isRoot}}
{{/hasChildren}}
{{#retainFocus}}no-refocus{{/retainFocus}}"
>{{label}}
{{#shortcut}}
<span class="shortcut">{{shortcut}}</span>
{{/shortcut}}
{{#hasChildren}}
<ul class="menu"></ul>
{{/hasChildren}}</li>