mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs($location): add docs for the $location.search setter
This commit is contained in:
parent
f43c226c67
commit
baa7af0df0
1 changed files with 4 additions and 1 deletions
|
|
@ -321,7 +321,10 @@ LocationUrl.prototype = {
|
|||
*
|
||||
* Change search part when called with parameter and return `$location`.
|
||||
*
|
||||
* @param {string|object<string,string>=} search New search part - string or hash object
|
||||
* @param {string|object<string,string>=} search New search params - string or hash object
|
||||
* @param {string=} paramValue If `search` is a string, then `paramValue` will override only a
|
||||
* single search parameter. If the value is `null`, the parameter will be deleted.
|
||||
*
|
||||
* @return {string}
|
||||
*/
|
||||
search: function(search, paramValue) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue