An open API service indexing awesome lists of open source software.

https://github.com/begrossi/ionic-inview

Simple ionic/angular directive to detect if an element is inside a scroll view.
https://github.com/begrossi/ionic-inview

Last synced: 3 months ago
JSON representation

Simple ionic/angular directive to detect if an element is inside a scroll view.

Awesome Lists containing this project

README

        

# ionic-inview
Simple ionic/angular directive to detect if an element is inside a scroll view.

#install
* Add ionicInView as module dependence
```angular.module('starter', ['ionicInView'])```

* Add in-view directive on target element. It optionally received an function callback, that may recept an special $status variable (in/out).
```

```

* Two css classes will be added to the element: inview-out / inview-in.