Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shahata committed Dec 13, 2014
1 parent 107e53b commit 5cc2398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -42,7 +42,7 @@ angular.module('myApp', ['angularViewportWatch']);

## Manual watcher toggling

In some cases you might want to disable or enable the watchers of some scope regardless of its position relative to the view port. This can be done easily by broadcasting an event to this scope:
In some cases you might want to disable or enable the watchers of some scope regardless of its position relative to the view port. This can be done easily by broadcasting an event to this scope (this will effect only scopes that have the `viewport-watch` directive on them):

```js
scope.$broadcast('toggleWatchers', false); //turn off watchers
Expand Down

0 comments on commit 5cc2398

Please sign in to comment.