rudimentary documentation for menu
This commit is contained in:
parent
32059fd458
commit
8da81bd5eb
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue
Block a user