From 8da81bd5eb571f2e7e6dac66548a2392ecce36a3 Mon Sep 17 00:00:00 2001 From: Rolux Date: Tue, 9 Feb 2010 18:28:47 +0530 Subject: [PATCH] rudimentary documentation for menu --- build/js/ox.ui.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index fe57e40..663e6e5 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -1948,6 +1948,23 @@ requires Ox.Menu = function(options, self) { + /* + options: + element the element the menu is attached to + id the menu id + items array of menu items + mainmenu the main menu this menu is part of, if any + offset offset of the menu, in px + parent the supermenu, if any + selected the position of the selected item + side "bottom" or "right" + size "large", "medium" or "small" + events + change_groupId {id, value} checked item of a group has changed + click_itemId item not belonging to a group was clicked + hide_menuId menu was hidden + */ + var self = self || {}, that = new Ox.Element({}, self) .defaults({