1
0
Fork 0
forked from 0x2620/oxjs

update widget documentation (arguments first)

This commit is contained in:
rolux 2012-07-04 13:29:18 +02:00
commit a0867f0da6
81 changed files with 250 additions and 251 deletions

View file

@ -2,12 +2,12 @@
/*@
Ox.MainMenu <f> MainMenu Object
([options[, self]]) -> <o:Ox.Bar> MainMenu Object
options <o> Options object
extras <a|[]> extra menus
menus <a|[]> submenus
size <s|medium> can be small, medium, large
self <o> shared private variable
self <o> Shared private variable
([options[, self]]) -> <o:Ox.Bar> MainMenu Object
@*/
Ox.MainMenu = function(options, self) {

View file

@ -2,17 +2,6 @@
/*@
Ox.Menu <f> Menu Object
([options[, self]]) -> <o:Ox.Element> Menu Object
change_groupId <!> {id, value} checked item of a group has changed
click_itemId <!> item not belonging to a group was clicked
click_menuId <!> {id, value} item not belonging to a group was clicked
deselect_menuId <!> {id, value} item was deselected not needed, not implemented
hide_menuId <!> menu was hidden
select_menuId <!> {id, value} item was selected
click <!> click
change <!> change
select <!> select
deselect <!> deselect
options <o> Options object
element <o> the element the menu is attached to
id <s> the menu id
@ -25,7 +14,18 @@ Ox.Menu <f> Menu Object
selected <b> the position of the selected item
side <s> open to 'bottom' or 'right'
size <s> 'large', 'medium' or 'small'
self <o> shared private variable
self <o> Shared private variable
([options[, self]]) -> <o:Ox.Element> Menu Object
change_groupId <!> {id, value} checked item of a group has changed
click_itemId <!> item not belonging to a group was clicked
click_menuId <!> {id, value} item not belonging to a group was clicked
deselect_menuId <!> {id, value} item was deselected not needed, not implemented
hide_menuId <!> menu was hidden
select_menuId <!> {id, value} item was selected
click <!> click
change <!> change
select <!> select
deselect <!> deselect
@*/
Ox.Menu = function(options, self) {

View file

@ -2,7 +2,6 @@
/*@
Ox.MenuButton <f> Menu Button
([options[, self]]) -> <o:Ox.Element> Menu Button
options <o> Options object
disabled <b|false> If true, button is disabled
id <s|''> Element id
@ -19,6 +18,8 @@ Ox.MenuButton <f> Menu Button
change <!> change
hide <!> hide
show <!> show
self <o> Shared private variable
([options[, self]]) -> <o:Ox.Element> Menu Button
@*/
Ox.MenuButton = function(options, self) {

View file

@ -2,7 +2,6 @@
/*@
Ox.MenuItem <f> MenuItem Object
([options[, self]]) -> <o:Ox.Element> MenuItem Object
options <o> Options object
bind <a|[]> fixme: what's this?
checked <f|null> If true, the item is checked
@ -16,7 +15,8 @@ Ox.MenuItem <f> MenuItem Object
menu <o|null> menu
position <n|0> position
title <a|[]> title
self <o> shared private variable
self <o> Shared private variable
([options[, self]]) -> <o:Ox.Element> MenuItem Object
@*/
Ox.MenuItem = function(options, self) {