Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
116 lines (102 sloc) 2.7 KB
<NavigationMenu as |Menu|>
<Menu.item as |Item|>
Docs
<Item.submenu as |Menu|>
<Menu.item as |Item|>
Ember.js Guides
<Item.submenu as |Menu|>
<Menu.item>
Getting Started
</Menu.item>
<Menu.item as |Item|>
Tutorial
<Item.submenu as |Menu|>
<Menu.item>
Creating your app
</Menu.item>
<Menu.item>
Planning your app
</Menu.item>
</Item.submenu>
</Menu.item>
<Menu.item>
The Object Model
</Menu.item>
</Item.submenu>
</Menu.item>
<Menu.item>
API Reference
</Menu.item>
<Menu.item>
CLI Guides
</Menu.item>
</Item.submenu>
</Menu.item>
<Menu.item as |Item|>
Releases
<Item.submenu as |Menu|>
<Menu.item>
Channels
</Menu.item>
<Menu.item>
Stable
</Menu.item>
<Menu.item>
Beta
</Menu.item>
<Menu.item>
Canary
</Menu.item>
</Item.submenu>
</Menu.item>
<Menu.item>
Blog
</Menu.item>
<Menu.item>
Community
</Menu.item>
<Menu.item>
About
</Menu.item>
</NavigationMenu>
{{!-- <div class="m-4">
<DropdownList class='list-reset flex' as |List|>
<List.item class='w-64 p-4 bg-grey-light cursor-pointer' as |Item|>
Menu A {{if Item.isActive '(active)'}}
</List.item>
<List.item
data-tether-id="menu-b"
class='w-64 p-4 bg-grey-light cursor-pointer'
as |Item|>
Menu B {{if Item.isActive '(active)'}}
{{#if Item.isActive}}
{{#modal-dialog
tetherTarget='[data-tether-id="menu-b"]'
targetAttachment='bottom left'
attachment='top left'
animatable=true
hasOverlay=false
}}
<Item.sublist class='-mt-2 list-reset bg-white shadow' as |List|>
<List.item class='p-4' as |Item|>
Submenu 1 {{if Item.isActive '(active)'}}
</List.item>
<List.item class='p-4 relative' as |Item|>
Submenu 2 {{if Item.isActive '(active)'}}
{{#if Item.isActive}}
<Item.sublist class='absolute bg-white shadow' as |List|>
<List.item class='p-2' as |Item|>
Sub-submenu 1 {{if Item.isActive '(active)'}}
</List.item>
<List.item class='p-2'>
Sub-submenu 2
</List.item>
</Item.sublist>
{{/if}}
</List.item>
</Item.sublist>
{{/modal-dialog}}
{{/if}}
</List.item>
</DropdownList>
</div> --}}
You can’t perform that action at this time.