This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -427,14 +427,17 @@ LocationHashbangInHtml5Url.prototype =
427
427
* If the argument is a hash object containing an array of values, these values will be encoded
428
428
* as duplicate search parameters in the url.
429
429
*
430
- * @param {(string|Array<string>)= } paramValue If `search` is a string, then `paramValue` will
431
- * override only a single search property.
430
+ * @param {(string|Array<string>|boolean )= } paramValue If `search` is a string, then `paramValue`
431
+ * will override only a single search property.
432
432
*
433
433
* If `paramValue` is an array, it will override the property of the `search` component of
434
434
* `$location` specified via the first argument.
435
435
*
436
436
* If `paramValue` is `null`, the property specified via the first argument will be deleted.
437
437
*
438
+ * If `paramValue` is `true`, the property specified via the first argument will be added with no
439
+ * value nor trailing equal sign.
440
+ *
438
441
* @return {Object } If called with no arguments returns the parsed `search` object. If called with
439
442
* one or more arguments returns `$location` object itself.
440
443
*/
You can’t perform that action at this time.
0 commit comments