Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(ngView): moar better autoscroll docs
Browse files Browse the repository at this point in the history
Closes #5734
  • Loading branch information
IgorMinar committed Jan 11, 2014
1 parent de065f1 commit c7a46d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ngRoute/directive/ngView.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
*
* - If the attribute is not set, disable scrolling.
* - If the attribute is set without value, enable scrolling.
* - Otherwise enable scrolling only if the expression evaluates to truthy value.
* - Otherwise enable scrolling only if the `autoscroll` attribute value evaluated
* as an expression yields a truthy value.
* @example
<example module="ngViewExample" deps="angular-route.js" animations="true">
<file name="index.html">
Expand Down

0 comments on commit c7a46d4

Please sign in to comment.