forked from 0x2620/oxjs
add documentation stubs
This commit is contained in:
parent
b3fce3a28a
commit
509745407b
102 changed files with 613 additions and 163 deletions
|
|
@ -1,5 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
/*@
|
||||
Ox.FileButton <function> File Button
|
||||
(options[, self]) -> <o> File Button
|
||||
options <o> Options
|
||||
self <o> Shared private variable
|
||||
@*/
|
||||
Ox.FileButton = function(options, self) {
|
||||
|
||||
self = self || {};
|
||||
|
|
@ -101,14 +107,20 @@ Ox.FileButton = function(options, self) {
|
|||
}
|
||||
}
|
||||
|
||||
/*@
|
||||
blurButton <f> blurButton
|
||||
@*/
|
||||
that.blurButton = function() {
|
||||
self.$input.blur();
|
||||
}
|
||||
|
||||
/*@
|
||||
focusButton <f> focusButton
|
||||
@*/
|
||||
that.focusButton = function() {
|
||||
self.$input.focus();
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue