mirror of
https://github.com/sstent/node.git
synced 2026-01-27 23:51:45 +00:00
updated app
This commit is contained in:
17
node_modules/derby-examples/widgets/lib/app/ui/dropdown/index.html
generated
vendored
Normal file
17
node_modules/derby-examples/widgets/lib/app/ui/dropdown/index.html
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<dropdown:>
|
||||
<!-- a :self path alias is automatically created per component -->
|
||||
<div class="btn-group {#if :self.open}open{/}">
|
||||
<!-- x-as can be used to pass a reference to an element to the script -->
|
||||
<a x-as="toggle" x-bind="click: clickToggle" class="btn dropdown-toggle">
|
||||
{{{value}}} <span class="caret"></span>
|
||||
</a>
|
||||
<menu x-as="menu" x-bind="click: clickMenu" class="dropdown-menu">
|
||||
{{{#each items}}}
|
||||
{{#if divider}}
|
||||
<li class="divider"></li>
|
||||
{{else}}
|
||||
<li><a>{{text}}</a></li>
|
||||
{{/}}
|
||||
{{{/}}}
|
||||
</menu>
|
||||
</div>
|
||||
Reference in New Issue
Block a user