File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 * @param {string } ngInclude|src angular expression evaluating to URL. If the source is a string constant,
3535 * make sure you wrap it in **single** quotes, e.g. `src="'myPartialTemplate.html'"`.
3636 * @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+ *
3844 * @param {string= } autoscroll Whether `ngInclude` should call {@link ng.$anchorScroll
3945 * $anchorScroll} to scroll the viewport after the content is loaded.
4046 *
You can’t perform that action at this time.
0 commit comments