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