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.
- Host: GitHub
- URL: https://github.com/begrossi/ionic-inview
- Owner: begrossi
- License: mit
- Created: 2015-09-15T00:59:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-15T01:36:51.000Z (over 9 years ago)
- Last Synced: 2025-02-19T11:01:54.916Z (4 months ago)
- Language: JavaScript
- Size: 104 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.