self.setOption ~> that.update
This commit is contained in:
parent
9ee0742b53
commit
005d50c389
56 changed files with 919 additions and 933 deletions
|
|
@ -71,14 +71,6 @@ Ox.App = function(options) {
|
|||
};
|
||||
}
|
||||
|
||||
/*@
|
||||
change <f> change key/value
|
||||
(key, value) -> <u> currently not implemented
|
||||
@*/
|
||||
self.setOption = function(key, value) {
|
||||
|
||||
};
|
||||
|
||||
/*@
|
||||
options <f> get/set options, see Ox.getset
|
||||
() -> <o> get options
|
||||
|
|
|
|||
|
|
@ -389,10 +389,10 @@ Ox.Element = function(options, self) {
|
|||
() -> <obj> all options
|
||||
(key) -> <any> the value of option[key]
|
||||
(key, value) -> <obj> this element
|
||||
Sets options[key] to value and calls self.setOption(key, value)
|
||||
Sets options[key] to value and calls update(key, value)
|
||||
if the key/value pair was added or modified
|
||||
({key: value, ...}) -> <obj> this element
|
||||
Sets multiple options and calls self.setOption(key, value)
|
||||
Sets multiple options and calls update(key, value)
|
||||
for every key/value pair that was added or modified
|
||||
# Arguments
|
||||
key <str> the name of the option
|
||||
|
|
|
|||
|
|
@ -9,9 +9,7 @@ Ox.JQueryElement = function($element) {
|
|||
//@ id <number> Unique id
|
||||
this.oxid = Ox.uid();
|
||||
//@ $element <object> The jQuery-wrapped DOM element
|
||||
this.$element = $element.data({
|
||||
oxid: this.oxid
|
||||
});
|
||||
this.$element = $element.data({oxid: this.oxid});
|
||||
//@ 0 <element> The DOM element (for compatibility with jQuery)
|
||||
this[0] = this.$element[0];
|
||||
//@ length <number> 1 (for compatibility with jQuery)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue