Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs($location): add docs for the $location.search setter
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Nov 30, 2011
1 parent f43c226 commit baa7af0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/service/location.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit baa7af0

Please sign in to comment.