document Ox..data
This commit is contained in:
parent
6f183f3b49
commit
a97170ea5b
1 changed files with 14 additions and 5 deletions
|
@ -92,9 +92,9 @@ Ox.$ = Ox.element = function(value) {
|
|||
attr <f> Gets or sets an attribute
|
||||
(key) -> <s> Value
|
||||
(key, value) -> <o> This element
|
||||
({key: value, key1: value1, ...}) -> <o> This element
|
||||
key <str> Attribute name
|
||||
value <str> Attribute value
|
||||
({key0: value0, key1: value1, ...}) -> <o> This element
|
||||
key <s> Attribute name
|
||||
value <s> Attribute value
|
||||
@*/
|
||||
attr: function() {
|
||||
var ret, that = this;
|
||||
|
@ -126,8 +126,8 @@ Ox.$ = Ox.element = function(value) {
|
|||
(key) -> <s> Value
|
||||
(key, value) -> <o> This element
|
||||
({key0: value0, key1: value1, ...}) -> <o> This element
|
||||
key <str> Attribute name
|
||||
value <str> Attribute value
|
||||
key <s> Attribute name
|
||||
value <s> Attribute value
|
||||
@*/
|
||||
css: function() {
|
||||
var ret, that = this;
|
||||
|
@ -141,6 +141,15 @@ Ox.$ = Ox.element = function(value) {
|
|||
}
|
||||
return ret;
|
||||
},
|
||||
/*@
|
||||
data <f> Gets or sets data
|
||||
() -> <o> All data
|
||||
(key) -> <s> Value
|
||||
(key, value) -> <o> This element
|
||||
({key0: value0, key1: value1, ...}) -> <o> This element
|
||||
key <s> Property
|
||||
value <*> Value
|
||||
@*/
|
||||
data: function() {
|
||||
var ret;
|
||||
if (arguments.length == 0) {
|
||||
|
|
Loading…
Reference in a new issue