We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d60cf commit bfba725Copy full SHA for bfba725
src/ngRoute/directive/ngView.js
@@ -26,6 +26,14 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
26
*
27
* @scope
28
* @priority 400
29
+ * @param {string=} onload Expression to evaluate whenever the view updates.
30
+ *
31
+ * @param {string=} autoscroll Whether `ngView` should call {@link ng.$anchorScroll
32
+ * $anchorScroll} to scroll the viewport after the view is updated.
33
34
+ * - If the attribute is not set, disable scrolling.
35
+ * - If the attribute is set without value, enable scrolling.
36
+ * - Otherwise enable scrolling only if the expression evaluates to truthy value.
37
* @example
38
<example module="ngViewExample" deps="angular-route.js" animations="true">
39
<file name="index.html">
0 commit comments