add that.options getsetter to Ox.URL
This commit is contained in:
parent
961a3c0850
commit
ab765a6f70
1 changed files with 17 additions and 0 deletions
|
@ -969,6 +969,23 @@ Ox.URL = function(options) {
|
|||
|
||||
}
|
||||
|
||||
/*@
|
||||
options <f> Gets or sets the options of an element object
|
||||
() -> <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
|
||||
Sets multiple options and calls update(key, value)
|
||||
for every key/value pair that was added or modified
|
||||
key <s> The name of the option
|
||||
value <*> The value of the option
|
||||
@*/
|
||||
that.options = function() {
|
||||
return Ox.getset(self.options, arguments, null, that);
|
||||
};
|
||||
|
||||
/*@
|
||||
parse <f> parse
|
||||
(callback) -> <o> parse state from document.location
|
||||
|
|
Loading…
Reference in a new issue