Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
skiminock committed Nov 23, 2015
1 parent acef6b5 commit 7daeac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ angular.module("app").controller("MyCtrl", function () {
If need just specify atribute scroll-always-top. For example, good thing for custom autocomplete list.

```
<input type="text" ng-model="item" />
<div scroll-pane scroll-config="paneConfig" id="myScrollPane" scroll-always-top="{{item}}">
<input type="text" ng-model="someText" />
<div scroll-pane scroll-config="paneConfig" id="myScrollPane" scroll-always-top="{{someText}}">
<div ng-repeat="item in items track by $index">
<span>{{item}}</span>
</div>
Expand Down

0 comments on commit 7daeac2

Please sign in to comment.