We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8e1db2 commit 0190d6cCopy full SHA for 0190d6c
src/ng/directive/ngInclude.js
@@ -35,6 +35,12 @@
35
* make sure you wrap it in **single** quotes, e.g. `src="'myPartialTemplate.html'"`.
36
* @param {string=} onload Expression to evaluate when a new partial is loaded.
37
*
38
+ * <div class="alert alert-warning">
39
+ * **Note:** Seems like the onload attribute is being handled differently by different browsers,
40
+ * like with SVG elements in IE11. To fix this, you can instead use `data-onload`
41
+ * in ng-include and it will work, because directives normalize the attribute names.
42
+ * </div>
43
+ *
44
* @param {string=} autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll
45
* $anchorScroll} to scroll the viewport after the content is loaded.
46
0 commit comments