Pure Javscript / AngularJS scrolling.
Supports mouse, wheel, keyboard and touch input sources.
Kinetic scrolling on touch devices.
Small. Minified size is 10k JS + 1.4k CSS.
Pure Angular. No jquery required.
Soft scrolling using CSS3 translate3d and transition.
Responsive and friendly to your layout.
Fully customizable. CSS, scrollbar position and behaviour.
{scrollX:'bottom',scrollY:'right'}(default)
{scrollX:'none',scrollY:'left'}
<head>
<link href="ng-scrollable.min.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="ng-scrollable.min.js"></script>
<script>var app = angular.module('app', ['ngScrollable']);</script>
</head>
<body ng-app="app">
<div ng-scrollable style="width: 400px; height: 300px;">
<img src="image.png"/>
</div>
</body>
See the README file in the GitHub Repo.
The MIT License (MIT)
Copyright (c) 2014 - 2017 Alexander Eichhorn and contributors.