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,3 @@
|
|||
// vim: et:ts=4:sw=4:sts=4:ft=javascript
|
||||
|
||||
'use strict';
|
||||
|
||||
/*@
|
||||
|
|
@ -107,12 +105,19 @@ Ox.FormElementGroup = function(options, self) {
|
|||
}
|
||||
};
|
||||
|
||||
/*@
|
||||
replaceElement <f> replaceElement
|
||||
(pos, element) -> <u> replcae element at position
|
||||
@*/
|
||||
that.replaceElement = function(pos, element) {
|
||||
Ox.Log('Form', 'Ox.FormElementGroup replaceElement', pos, element)
|
||||
self.options.elements[pos].replaceWith(element.$element);
|
||||
self.options.elements[pos] = element;
|
||||
};
|
||||
|
||||
/*@
|
||||
value <f> value
|
||||
@*/
|
||||
that.value = function() {
|
||||
var values = self.options.elements.map(function(element) {
|
||||
return element.value();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue