File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 34
34
* @param {string } ngInclude|src angular expression evaluating to URL. If the source is a string constant,
35
35
* make sure you wrap it in **single** quotes, e.g. `src="'myPartialTemplate.html'"`.
36
36
* @param {string= } onload Expression to evaluate when a new partial is loaded.
37
- *
37
+ * <div class="alert alert-warning">
38
+ * **Note:** When using onload on SVG elements in IE11, the browser will try to call
39
+ * a function with the name on the window element, which will usually throw a
40
+ * "function is undefined" error. To fix this, you can instead use `data-onload` or a
41
+ * different form that {@link guide/directives#normalization matches} `onload`.
42
+ * </div>
43
+ *
38
44
* @param {string= } autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll
39
45
* $anchorScroll} to scroll the viewport after the content is loaded.
40
46
*
You can’t perform that action at this time.
0 commit comments