Created
March 13, 2011 21:37
-
-
Save kfranqueiro/868470 to your computer and use it in GitHub Desktop.
Extension of dijit.Menu which fetches its items from a server endpoint outputting widgets in declarative HTML.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<li dojoType="dijit.MenuItem" onClick="console.log('first item');">item</li> | |
<li dojoType="dijit.PopupMenuItem"><span>Normal submenu</span> | |
<ul dojoType="dijit.Menu"> | |
<li dojoType="dijit.MenuItem" onClick="console.log('normal submenu item');">item</li> | |
</ul> | |
</li> | |
<li dojoType="dijit.PopupMenuItem"><span>Deferred submenu to infinity!</span> | |
<ul dojoType="kgf.widget.DeferredDeclarativeMenu" src="items.html" cache="true"> | |
</ul> | |
</li> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment