Skip to content

Commit

Permalink
update demo app
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Eichhorn committed Jul 20, 2015
1 parent ce1ecd7 commit 265cfdd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1 class="logo">ng-scrollable</h1>
<p class='lead'>Superamazing scrollbars for AngularJS.</p>
<section>
<h2 class="sectionhead">What's it all about...</h2>
<p class='lead'>It supports mouse, wheel, keyboard and (**new in 0.2.0) touch input with kinetic scrolling.</p>
<p class='lead'>It supports mouse, wheel, keyboard and (<b>new in 0.2.0</b>) touch input with kinetic scrolling.</p>
<p class='lead'>It's small. Minified size is 7.7k JS + 1.5k CSS.</p>
<p class='lead'>It's pure Angular. No jquery required.</p>
<p class='lead'>It's soft scrolling using CSS3 translate3d and transition.</p>
Expand Down
3 changes: 3 additions & 0 deletions example/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,7 @@ app.controller('Demo', function ($scope) {
$scope.moveY = function (pixels) {
$scope.posY = $scope.posY + pixels;
};
$scope.$evalAsync(function () {
$scope.$broadcast('content.changed', 1000);
});
});

0 comments on commit 265cfdd

Please sign in to comment.