Skip to content

Commit 9a917b3

Browse files
committed
Updated README
1 parent 8fc5e32 commit 9a917b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Lightweight drag to scroll directive for AngularJS
1919
angular.module('MyApp', ['ng-drag-scroll']);
2020
```
2121

22-
* Add an attribute set to true to an element with a scrollbar to make the content scrollable, setting the attribute to false will prevent drag to scroll behaviour.
23-
The attribute value can be set to a scope varibale to easily toggle between enabled and disabled.
22+
* Add an attribute to an element with a scrollbar to make the content scrollable. You can use the drag-scroll attribute value to switch the scrolling on/off. The value can be a variable or an expression.
2423

2524
```html
2625
<div drag-scroll="true">

0 commit comments

Comments
 (0)