forked from 0x2620/oxjs
update documentation
This commit is contained in:
parent
73fa856900
commit
ea08852676
2 changed files with 74 additions and 74 deletions
|
|
@ -6,13 +6,13 @@ Ox.JQueryElement <f> Wrapper for jQuery
|
|||
$element <o> jQuery DOM Element
|
||||
@*/
|
||||
Ox.JQueryElement = function($element) {
|
||||
//@ id <number> Unique id
|
||||
//@ id <n> Unique id
|
||||
this.oxid = Ox.uid();
|
||||
//@ $element <object> The jQuery-wrapped DOM element
|
||||
//@ $element <o> The jQuery-wrapped DOM element
|
||||
this.$element = $element.data({oxid: this.oxid});
|
||||
//@ 0 <element> The DOM element (for compatibility with jQuery)
|
||||
//@ 0 <h> The DOM element (for compatibility with jQuery)
|
||||
this[0] = this.$element[0];
|
||||
//@ length <number> 1 (for compatibility with jQuery)
|
||||
//@ length <n> 1 (for compatibility with jQuery)
|
||||
this.length = 1;
|
||||
Ox.UI.elements[this.oxid] = this;
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue