Skip to content

Commit fae96c3

Browse files
IgorMinarjamesdaily
authored andcommitted
docs(ngView): moar better autoscroll docs
Closes angular#5734
1 parent bfba725 commit fae96c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ngRoute/directive/ngView.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
3333
*
3434
* - If the attribute is not set, disable scrolling.
3535
* - If the attribute is set without value, enable scrolling.
36-
* - Otherwise enable scrolling only if the expression evaluates to truthy value.
36+
* - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
37+
* as an expression yields a truthy value.
3738
* @example
3839
<example module="ngViewExample" deps="angular-route.js" animations="true">
3940
<file name="index.html">

0 commit comments

Comments
 (0)