diff --git a/source/Ox.UI/js/Core/URL.js b/source/Ox.UI/js/Core/URL.js index 3195d695..d1559c31 100644 --- a/source/Ox.UI/js/Core/URL.js +++ b/source/Ox.UI/js/Core/URL.js @@ -969,6 +969,23 @@ Ox.URL = function(options) { } + /*@ + options Gets or sets the options of an element object + () -> All options + (key) -> <*> The value of option[key] + (key, value) -> This element + Sets options[key] to value and calls update(key, value) + if the key/value pair was added or modified + ({key: value, ...}) -> This element + Sets multiple options and calls update(key, value) + for every key/value pair that was added or modified + key The name of the option + value <*> The value of the option + @*/ + that.options = function() { + return Ox.getset(self.options, arguments, null, that); + }; + /*@ parse parse (callback) -> parse state from document.location