Menu

  • title title of the menu, usually the name of the element
  • selector where to inject the menu
  • menuName name of the .menu file
  • view reference to the html template for the menu
var Menu = require('nsx/menu');
//...
Menu.defineMenu({
  title: "...",
  selector: "menu",
  menuName: "...",
  view: menuTemplate
});