mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-16 10:43:10 +00:00
docs($location): update paramValue description for search()
search() supports an array for paramValue, but this is not described in the docs.
This commit is contained in:
parent
9a828738cd
commit
8d4e3fdd31
1 changed files with 7 additions and 6 deletions
|
|
@ -370,8 +370,9 @@ LocationHashbangInHtml5Url.prototype =
|
||||||
* hash object. Hash object may contain an array of values, which will be decoded as duplicates in
|
* hash object. Hash object may contain an array of values, which will be decoded as duplicates in
|
||||||
* the url.
|
* the url.
|
||||||
*
|
*
|
||||||
* @param {string=} paramValue If `search` is a string, then `paramValue` will override only a
|
* @param {(string|Array<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.
|
* single search parameter. If `paramValue` is an array, it will set the parameter as a
|
||||||
|
* comma-separated value. If `paramValue` is `null`, the parameter will be deleted.
|
||||||
*
|
*
|
||||||
* @return {string} search
|
* @return {string} search
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue