add that.options getsetter to Ox.URL

This commit is contained in:
j 2013-10-07 19:16:23 +00:00
parent 961a3c0850
commit ab765a6f70

View file

@ -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