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
|
|
@ -2,12 +2,6 @@
|
|||
|
||||
/*@
|
||||
Ox.DocPanel <f> Documentation Panel
|
||||
([options[, self]]) -> <o:Ox.SplitPanel> Documentation Panel
|
||||
load <!> Fires once all docs are loaded
|
||||
items [o] Array of doc items
|
||||
tests <!> Fires once all tests finished
|
||||
results [o] Array of results
|
||||
select <!> select
|
||||
options <o> Options object
|
||||
collapsible <b|false> If true, the list can be collabsed
|
||||
element <e> Default content
|
||||
|
|
@ -29,6 +23,12 @@ Ox.DocPanel <f> Documentation Panel
|
|||
size <s|256> Default list size
|
||||
stripComments <b|false> If true, strip comments in source code
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.SplitPanel> Documentation Panel
|
||||
load <!> Fires once all docs are loaded
|
||||
items [o] Array of doc items
|
||||
tests <!> Fires once all tests finished
|
||||
results [o] Array of results
|
||||
select <!> select
|
||||
@*/
|
||||
|
||||
Ox.DocPanel = function(options, self) {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/*@
|
||||
Ox.ExamplePage <f> Example Page
|
||||
([options[, self]]) -> <o:Ox.SplitPanel> Example Page
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.SplitPanel> Example Page
|
||||
@*/
|
||||
|
||||
Ox.ExamplePage = function(options, self) {
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
/*@
|
||||
Ox.ExamplePanel <f> Example Panel
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.SplitPanel> Example Panel
|
||||
load <!> load
|
||||
select <!> select
|
||||
id <s> selected example
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
@*/
|
||||
|
||||
Ox.ExamplePanel = function(options, self) {
|
||||
|
|
|
|||
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
/*@
|
||||
Ox.SourceViewer <f> Source Viewer
|
||||
([options[, self]]) -> <o:Ox.Container> Source Viewer
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Container> Source Viewer
|
||||
@*/
|
||||
|
||||
Ox.SourceViewer = function(options, self) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
/*@
|
||||
Ox.SyntaxHighlighter <f> Syntax Highlighter
|
||||
([options[, self]]) -> <o:Ox.Element> Syntax Highlighter
|
||||
options <o> Options
|
||||
file <s|''> JavaScript file (alternative to `source` option)
|
||||
lineLength <n|0> If larger than zero, show edge of page
|
||||
|
|
@ -18,6 +17,7 @@ Ox.SyntaxHighlighter <f> Syntax Highlighter
|
|||
stripComments <b|false> If true, strip comments
|
||||
tabSize <n|4> Number of spaces per tab
|
||||
self <o> Shared private variable
|
||||
([options[, self]]) -> <o:Ox.Element> Syntax Highlighter
|
||||
@*/
|
||||
|
||||
Ox.SyntaxHighlighter = function(options, self) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue