Ox.Element: reformat docs
This commit is contained in:
parent
197f937d86
commit
79bea33e51
1 changed files with 6 additions and 8 deletions
|
@ -339,18 +339,16 @@ Ox.Element = function(options, self) {
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
options <f> Gets or sets the options of an element object
|
options <f> Gets or sets the options of an element object
|
||||||
# Usage
|
() -> <o> All options
|
||||||
() -> <o> All options
|
(key) -> <*> The value of option[key]
|
||||||
(key) -> <*> The value of option[key]
|
(key, value) -> <o> This element
|
||||||
(key, value) -> <o> This element
|
|
||||||
Sets options[key] to value and calls update(key, value)
|
Sets options[key] to value and calls update(key, value)
|
||||||
if the key/value pair was added or modified
|
if the key/value pair was added or modified
|
||||||
({key: value, ...}) -> <o> this element
|
({key: value, ...}) -> <o> This element
|
||||||
Sets multiple options and calls update(key, value)
|
Sets multiple options and calls update(key, value)
|
||||||
for every key/value pair that was added or modified
|
for every key/value pair that was added or modified
|
||||||
# Arguments
|
key <s> The name of the option
|
||||||
key <s> The name of the option
|
value <*> The value of the option
|
||||||
value <*> The value of the option
|
|
||||||
@*/
|
@*/
|
||||||
that.options = function() {
|
that.options = function() {
|
||||||
return Ox.getset(self.options, arguments, update, that);
|
return Ox.getset(self.options, arguments, update, that);
|
||||||
|
|
Loading…
Reference in a new issue