forked from 0x2620/oxjs
update widget documentation (arguments first)
This commit is contained in:
parent
daec992536
commit
a0867f0da6
81 changed files with 250 additions and 251 deletions
|
|
@ -1,11 +1,11 @@
|
|||
'use strict';
|
||||
/*@
|
||||
Ox.Bar <f> Bar
|
||||
([options[, self]]) -> <o:Ox.Element> Bar object
|
||||
options <o> Options object
|
||||
orientation <s|'horizontal'> Orientation ('horizontal' or 'vertical')
|
||||
size <n|s|'medium'> can be 'small', 'medium', 'large' or number
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Element> Bar object
|
||||
@*/
|
||||
Ox.Bar = function(options, self) {
|
||||
self = self || {};
|
||||
|
|
|
|||
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
/*@
|
||||
Ox.Progressbar <f> Progress Bar
|
||||
([options[, self]]) -> <o:Ox.Element> Progress Bar
|
||||
cancel <!> cancelled
|
||||
complete <!> completed
|
||||
pause <!> paused
|
||||
restart <!> restart
|
||||
resume <!> resumed
|
||||
options <o|{}> Options object
|
||||
cancelled <b|false> If true, progress bar is cancelled
|
||||
paused <b|false> If true, progress bar is paused
|
||||
|
|
@ -20,6 +14,12 @@ Ox.Progressbar <f> Progress Bar
|
|||
showTooltips <b|false> If true, buttons have tooltips
|
||||
width <n|256> Width in px
|
||||
self <o|{}> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Element> Progress Bar
|
||||
cancel <!> cancelled
|
||||
complete <!> completed
|
||||
pause <!> paused
|
||||
restart <!> restart
|
||||
resume <!> resumed
|
||||
@*/
|
||||
|
||||
Ox.Progressbar = function(options, self) {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
'use strict';
|
||||
/*@
|
||||
Ox.Resizebar <f> Resizebar
|
||||
([options[, self]]) -> <o:Ox.Element> Resizebar object
|
||||
options <o> Options object
|
||||
collapsed <b|false> inital collapse state
|
||||
collapsible <b|true> collapse state can be changed
|
||||
|
|
@ -14,6 +13,7 @@ Ox.Resizebar <f> Resizebar
|
|||
size <n|0> default size
|
||||
tooltip <b|s|false> tooltip or not
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Element> Resizebar object
|
||||
@*/
|
||||
Ox.Resizebar = function(options, self) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
'use strict';
|
||||
/*@
|
||||
Ox.Tabbar <f> Tabbar
|
||||
([options[, self]]) -> <o:Ox.Bar> Tabbar object
|
||||
options <o> Options object
|
||||
selected <n|0> selected item
|
||||
tabs <a|[]> tabs
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Bar> Tabbar object
|
||||
@*/
|
||||
Ox.Tabbar = function(options, self) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue