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

Commit ab856d8

Browse files
kirkthompsonNarretz
authored andcommitted
docs(linky): mark "target" param as optional
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/f876ab71913e17e9126baad19ab795f28b61bfe6/src/ngSanitize/filter/linky.js#L185 Closes #16330
1 parent 83e6eef commit ab856d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngSanitize/filter/linky.js

+1-1
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)