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

Commit 4929ba0

Browse files
committed
docs(linky): mark "target" param as optional in linky filter
This argument is optional in practice, and it is not provided in many of the examples in the documentation. Its optional presence is handled here: https://github.com/angular/angular.js/blob/master/src/ngSanitize/filter/linky.js#L185.
1 parent f876ab7 commit 4929ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngSanitize/filter/linky.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Requires the {@link ngSanitize `ngSanitize`} module to be installed.
1313
*
1414
* @param {string} text Input text.
15-
* @param {string} target Window (`_blank|_self|_parent|_top`) or named frame to open links in.
15+
* @param {string} [target] Window (`_blank|_self|_parent|_top`) or named frame to open links in.
1616
* @param {object|function(url)} [attributes] Add custom attributes to the link element.
1717
*
1818
* Can be one of:

0 commit comments

Comments
 (0)