iptools-jquery-inview
Viewport Monitoring Plugin
Features
Detect if element is in viewport and call events on enter and exit.
Requirements
- jQuery 1.11.3 or greater
Example with callbacks
Example with event listeners
Contributions
Bug reports, suggestions
- File all your issues, feature requests here
- If filing a bug report, follow the convention of Steps to reproduce / What happens? / What should happen?
- If you're a developer, write a failing test instead of a bug report and send a Pull Request
Code
- Fork it ( https://github.com/[my-github-username]/iptools-jquery-inview/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Develop your feature by concepts of TDD, see Tips
- Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Tips
Following tasks are there to help with development:
grunt watch:bdd
listens to tests and source, reruns testsgrunt qa
run QA task that includes tests and JSHintgrunt build
minify source to dist/
Licence
Copyright © 2015 Interactive Pioneers GmbH. Licenced under GPLv3.