{"_id":"angular-inview","_rev":"22-979b30883f287d58842c2875df58120d","name":"angular-inview","description":"AngularJS directive to check if a DOM element is in the viewport","dist-tags":{"latest":"3.1.0"},"versions":{"1.5.0":{"name":"angular-inview","version":"1.5.0","description":"Angular directive to check if a DOM element is in the visible viewport","author":{"name":"Nicola Peduzzi"},"devDependencies":{"karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2"},"gitHead":"c16a9a196911866aaff0084e69f41e8ae12abc33","_id":"angular-inview@1.5.0","scripts":{},"_shasum":"b93cc2c48f40ab272dceced2ed39f79904979c90","_from":".","_npmVersion":"2.3.0","_nodeVersion":"0.10.35","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"b93cc2c48f40ab272dceced2ed39f79904979c90","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-1.5.0.tgz","integrity":"sha512-IK6wEeEVxGJauiKuoPSLe9aexvCpPFyyPmRNLXn7H1i7vwn917nQAxABUMwJN+4GLAJfw9eHHvfIYF4eu4YZSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHY7+kHVIppm5cMsga3loLHI+m2pHl3Op6FVnmK+6UaNAiEA2XoyCarf2iRjCvtS6IKDaGneHgQB75f1u8AgYlDqp5s="}]},"directories":{}},"1.5.5":{"name":"angular-inview","version":"1.5.5","description":"AngularJS directive to check if a DOM element is in the browser viewport.","main":"angular-inview.js","directories":{"example":"examples","test":"test"},"dependencies":{},"devDependencies":{"karma-chrome-launcher":"^0.1.12","karma-jasmine":"^0.2.3","karma-coffee-preprocessor":"^0.2.1","karma":"^0.12.24"},"scripts":{"test":"./node_modules/karma/bin/karma start"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview","gitHead":"1e0e6e7e31c9b8659bafd3fd9becfb53ceb93a29","_id":"angular-inview@1.5.5","_shasum":"c9074a93446c582d32372ccff4dd5d3f438cf573","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"c9074a93446c582d32372ccff4dd5d3f438cf573","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-1.5.5.tgz","integrity":"sha512-5mz2KQrjtbgQwjBOv4l3/52hGPXRkbvzm7zy5d2rUibbl+qKzXrd1UW8C6nvupV2E0eAHMIbiYQ6DNa8i0QXYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsrBZpgFQiqG0GcnYT4BWX2imHfR8zfwdpyPzcTrtiFAIgKh7YW7DW+v+cCEs8sqpmpT6tUxvjz2/ClmOWUVow7Ns="}]}},"1.5.6":{"name":"angular-inview","version":"1.5.6","description":"AngularJS directive to check if a DOM element is in the browser viewport.","main":"angular-inview.js","directories":{"example":"examples","test":"test"},"dependencies":{},"devDependencies":{"karma-chrome-launcher":"^0.1.12","karma-jasmine":"^0.2.3","karma-coffee-preprocessor":"^0.2.1","karma":"^0.12.24"},"scripts":{"test":"./node_modules/karma/bin/karma start"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview","gitHead":"96cb2f24b62849632ffdcb62cbb679de594d7629","_id":"angular-inview@1.5.6","_shasum":"679b1c3f1d7404734e86bfa57fe2ea5f127f966c","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"679b1c3f1d7404734e86bfa57fe2ea5f127f966c","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-1.5.6.tgz","integrity":"sha512-1pn91JEjVa/tyVjKs/BJreHMXd81EntrtDBgUJM8xsQ2/Or8kstsQVOvs38SomVSaqJ1OeVGG1b6ZWe8XoBVbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICKkeue7ZxNg1gJy/jYox4HB4RC4fx9PCkclkRldZCtMAiAiB/5z4wdgQFcrKm5PgeLGakAPg2z5aTfyGGcemyQtZQ=="}]}},"1.5.7":{"name":"angular-inview","version":"1.5.7","description":"AngularJS directive to check if a DOM element is in the browser viewport.","main":"angular-inview.js","directories":{"example":"examples","test":"test"},"dependencies":{},"devDependencies":{"karma-chrome-launcher":"^0.1.12","karma-jasmine":"^0.2.3","karma-coffee-preprocessor":"^0.2.1","karma":"^0.12.24"},"scripts":{"test":"./node_modules/karma/bin/karma start"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview","gitHead":"36112b2877056dda606dea2add72a3c851297447","_id":"angular-inview@1.5.7","_shasum":"0eb72cc70a47a44766ca4424852b2957c82b4ef7","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"0eb72cc70a47a44766ca4424852b2957c82b4ef7","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-1.5.7.tgz","integrity":"sha512-44DZNaj0JEEFv0ctMZ1OTTmTur63kFAs1wZ+dtHzgENr7XIDTU1DVV6MrNtlKeObgI/qce9M6V/BDFVkGyKoEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICUh8toTXpJOeqOSzv1Rianw9+BlM8CyJ8PfIhU6DquVAiAmBEhrvQ9cfRu7A50/ziQM+etx9O49mXkjj0uCBp0DEQ=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-inview-1.5.7.tgz_1457722018289_0.2756729160901159"}},"2.0.0-beta.1":{"name":"angular-inview","version":"2.0.0-beta.1","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2","angular-mocks":"^1.5.8"},"gitHead":"872c70939bac469c6c142df1702cd2453e7eb1b0","_id":"angular-inview@2.0.0-beta.1","_shasum":"f4e406da87c395167988d1231661e848f4544000","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"f4e406da87c395167988d1231661e848f4544000","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.0.0-beta.1.tgz","integrity":"sha512-oxRt35M2bt6LyMHfr1tDWAvy30UVY8af8bYhL/orvtAJ5b8voW048olBEfzJXNBm233Lpw8Lhn11FIBd032qqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/PPZ5w3mwAoE7KTdn1SDNLeS8O/C0x7N1e/8cRbQVmQIhANmA2w4ViiO3gU3yeeWqgLqbLMZG0S0qChM02bde7wWb"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-inview-2.0.0-beta.1.tgz_1471509076784_0.35785519680939615"},"directories":{}},"2.0.0-beta.2":{"name":"angular-inview","version":"2.0.0-beta.2","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"docco":"^0.7.0","gh-pages":"^0.11.0","karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2","angular-mocks":"^1.5.8"},"gitHead":"de0f857a5dcd9a362809eee6c433d038932f7031","_id":"angular-inview@2.0.0-beta.2","_shasum":"424283fd300a82d2f03bb8ad397db56dc5fe0ef4","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"424283fd300a82d2f03bb8ad397db56dc5fe0ef4","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.0.0-beta.2.tgz","integrity":"sha512-744C10nGlHuqADedypc+hCey68EaUeah2gwYZOkZF7Tzbr19jpq6xWqcZDsoJn4tHRTQ6w6INXymQI6IuZpT0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4M/1awHAvi18G03wmNDqa/MvrH2aFJW3HrrrxtX5cJgIhANnhpVcu1FIcr4ICpyEYxrM+6lONKPVAiO+bK2O+0Cvt"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-inview-2.0.0-beta.2.tgz_1471625590010_0.47518736287020147"},"directories":{}},"2.0.0":{"name":"angular-inview","version":"2.0.0","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"docco":"^0.7.0","gh-pages":"^0.11.0","karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2","angular-mocks":"^1.5.8"},"gitHead":"33a162fb870c43a07722a50191487511fe7f4257","_id":"angular-inview@2.0.0","_shasum":"b6c291a513acb84bdbb29d302bef1c86d28dd00b","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.12.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"b6c291a513acb84bdbb29d302bef1c86d28dd00b","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.0.0.tgz","integrity":"sha512-xKL7hXX0qE0VRioZ5vPeew3o5aNTgzxni1grpyJM743vsEVIP1ntJtaqdN9GDjAVEKkdnygVEGKzqGeeUZURFw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChjzFsQE3FreoNElElwhkwNRsjVJGYmkp2I7/iSxlr3wIhANuTxReZ5O41Pq2G4VcoS6kjNRba6eO0LPCIkYsjS1o6"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-inview-2.0.0.tgz_1471635330775_0.05335107957944274"},"directories":{}},"2.1.0":{"name":"angular-inview","version":"2.1.0","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && mv docs/angular-inview.html docs/index.html && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"docco":"^0.7.0","gh-pages":"^0.11.0","karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2","angular-mocks":"^1.5.8"},"gitHead":"9644f29dfbba332ebc071f7aad0470ae667b00b4","_id":"angular-inview@2.1.0","_shasum":"9e8615b89f26f80565aaef706a04a9c667c7d785","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.5.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"dist":{"shasum":"9e8615b89f26f80565aaef706a04a9c667c7d785","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.1.0.tgz","integrity":"sha512-jRICuiHIA8xkcLmfy2307Eo0tRqc69D/BU/3sYEnIfcsj5f/3BvllJ13+aLe5Fro+QPffpPF/ZLrRp8sGWL4hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHudbCW+F9PwmAs/5a5DmdQIq/S2ydBFMlbLvKQgf4quAiBj0Q5XrGs0sSNzIEKlXwVIvFHs1kFnPI8jWA2ejjfM3A=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/angular-inview-2.1.0.tgz_1475074516621_0.6429021044168621"},"directories":{}},"2.3.0":{"name":"angular-inview","version":"2.3.0","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && mv docs/angular-inview.html docs/index.html && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"docco":"^0.7.0","gh-pages":"^0.11.0","karma":"^0.12.24","karma-chrome-launcher":"^0.1.5","karma-jasmine":"~0.2","angular-mocks":"^1.5.8"},"gitHead":"7fef8ac4e950e8329be1593f64cf48c06fe628e1","_id":"angular-inview@2.3.0","_npmVersion":"5.3.0","_nodeVersion":"8.5.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"dist":{"integrity":"sha512-XlcFLa0EdTHPXlS+WjDy6EdxMKAItj+duWhoGmEA8++5FWK25MSpWL3yW51JrGBtNhn2zw7rrZQJEzXmdLfcSg==","shasum":"f3243f9019e60737c7d5e69f9d171148d0d28e13","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA97UyG7ijnCvxr2+/slwE6MJSfa85e4aES8lxHhXEoNAiBtq6jcaJ7KYyHSwf6ohT+/YHC/u3bIj0ggi1wKrQZs1Q=="}]},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-inview-2.3.0.tgz_1506331425205_0.3350213773082942"},"directories":{},"deprecated":"accidentally pushed semver breaking version"},"2.3.1":{"name":"angular-inview","version":"2.3.1","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && mv docs/angular-inview.html docs/index.html && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"angular-mocks":"1.6.8","docco":"^0.7.0","gh-pages":"^0.11.0","jasmine-core":"2.9.1","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1"},"gitHead":"7c998be1a2e61b12f1229b86e106da44bf84ecd3","_id":"angular-inview@2.3.1","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"dist":{"integrity":"sha512-4+YQ8hkHt6ZqtCxjhzWUkLaZfZhpEcLWFFGAiXI+itUUuD6ViM+FDVSPYSYsOsKcqbkso+JO1f4uXXC+yKg+YA==","shasum":"2818f839432af2de44732678061ab76d83d52158","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-2.3.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqApoA/JGpTziCR/MgxYPh6SEXDHvU5C6eE+0Dn1ZfBwIhAIfs122EIqxHSbdGKM6bp2/b1mMHW5d1qBJGHpK5Vi4R"}]},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-inview-2.3.1.tgz_1517230849977_0.24378749495372176"},"directories":{}},"3.0.0":{"name":"angular-inview","version":"3.0.0","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && mv docs/angular-inview.html docs/index.html && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"angular-mocks":"1.6.8","docco":"^0.7.0","gh-pages":"^0.11.0","jasmine-core":"2.9.1","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1"},"gitHead":"50b2cbfe302c15800f13a7b9ccc9505237ab0adb","_id":"angular-inview@3.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"dist":{"integrity":"sha512-IrZsq4veRM/kIASbIftovMVn2qaZYU2kUc/HErNkgqO4kc4iE4B1tPiC/IrzCuuBPGwi8t0nKupKS+DcqHnItw==","shasum":"de6f13f2e674a9c6a2fbceaad0ea7eac7735b8b4","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-3.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqo7bO8qDn4pCssl1SpvssaPvovntXpWVNjT67zgZvvAIhAIOJomxB3lrv9K8XSw+2lv4cT0gmKAsTsCmepHuTUixq"}]},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-inview-3.0.0.tgz_1517231797246_0.7233677601907402"},"directories":{}},"3.1.0":{"name":"angular-inview","version":"3.1.0","description":"AngularJS directive to check if a DOM element is in the viewport","main":"angular-inview.js","scripts":{"test":"karma start","publish-docs":"docco -o docs angular-inview.js && mv docs/angular-inview.html docs/index.html && gh-pages -d docs"},"repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"keywords":["angualr","inview"],"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"license":"MIT","bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"homepage":"https://github.com/thenikso/angular-inview#readme","peerDependencies":{"angular":"^1.5.8"},"devDependencies":{"angular":"^1.5.8","angular-mocks":"1.6.8","docco":"^0.7.0","gh-pages":"^0.11.0","jasmine-core":"2.9.1","karma":"2.0.0","karma-chrome-launcher":"2.2.0","karma-jasmine":"1.1.1"},"gitHead":"275a6a97cc20f427fff340abde3294db399d2ad8","_id":"angular-inview@3.1.0","_npmVersion":"6.5.0","_nodeVersion":"11.8.0","_npmUser":{"name":"nikso","email":"thenikso@gmail.com"},"dist":{"integrity":"sha512-J839sctiOgSYkYVh+ZmpkslOFMF9eb632jGRe3z70qkSOV5sAOuw3HkcFA8aZdZfpX841GZRQB1Nhjmh4fyspg==","shasum":"d1180feea704f5b0e6e6df40c585d990c135d1c8","tarball":"https://registry.npmjs.org/angular-inview/-/angular-inview-3.1.0.tgz","fileCount":4,"unpackedSize":21456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXyYSCRA9TVsSAnZWagAAD5gQAIBMCVOzDIhJvNFmkDce\neay/6M4x4K8hOaaStf557x1QY5sDRM8JpSk5BFkObzX7PuV47J9RnLHQ9E5V\nGKKMeNKV+AAmOJ2gxgyATFqnkwzuOmHD90oRhY7F5QL1vyG8Lz0yLLzkJbXF\nvetBao8/CH5kDa+VS4uGrDa//dBWnjb+DpWBRjegjLlzQQAAAM0//Vy3lLGV\nyYB1HrfjGCJr/+R7zj52wYbY/Fi2wXGQRlSoUJ0/4Le5JTb8hn6vfOOTK+ug\n6RBDkBXkQ4aFyo4Q3nJL7rO0oD3mC3/m6EfAY0SyDjYtoiQNo83WEiSUP8Kc\nHclEvtZ7m3vWJcmeuo2+Ivsh+7CUNI+bC4FKeFfkK3iRqicxoA6Q+5FsGDwR\ni18aOeiXf13cj1fYNEPJkTnol2kVd1z8M4Lg4qYSOYvglK5QtfUGVbWB4JeG\n6TqBPmZwUIxJdaUD5jqs/hGsm2H9sxzJl8IubJrWjn1G3lmCucBChcttHxD5\ncHSOQ3XvbikeI+hbCXfVCXJiStwACL9z+e6fcbBbPgybAn8JZBxO3PIaI8Yk\nQ2QfWol1XF/FmIMMdH7jG5eFId3fNrvUi/GUYKyM2dUZLhqTA/3WjlSS9HQ6\nPwaAoqLcb1fbUIy5hR6aUoEWM0bVQmDlj3GukxBGzGFrsHyAifHlWX3FEC3d\nfvJB\r\n=vCfn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlXF64eBJfhqrtRd49rUKuqU1lHX/Kra4WPV5AfffquAiEA/rc5cXc5muoi5GBAndQWirmNyG6p14aJOssTI+urNeE="}]},"maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/angular-inview_3.1.0_1549739537596_0.8336279872871113"},"_hasShrinkwrap":false}},"readme":"# InView Directive for AngularJS [![CircleCI](https://circleci.com/gh/thenikso/angular-inview.svg?style=svg)](https://circleci.com/gh/thenikso/angular-inview)\n\nCheck if a DOM element is or not in the browser current visible viewport.\n\n```html\n<div in-view=\"ctrl.myDivIsVisible = $inview\" ng-class=\"{ isInView: ctrl.myDivIsVisible }\"></div>\n```\n\n**This is a directive for AngularJS 1, support for Angular 2 is not in the works yet (PRs are welcome!)**\n\n> Version 2 of this directive uses a lightwight embedded reactive framework and\nit is a complete rewrite of v1\n\n## Installation\n\n### With npm\n\n```\nnpm install angular-inview\n```\n\n### With bower\n\n```\nbower install angular-inview\n```\n\n## Setup\n\nIn your document include this scripts:\n\n```html\n<script src=\"/node_modules/angular/angular.js\"></script>\n<script src=\"/node_modules/angular-inview/angular-inview.js\"></script>\n```\n\nIn your AngularJS app, you'll need to import the `angular-inview` module:\n\n```javascript\nangular.module('myModule', ['angular-inview']);\n```\n\nOr with a module loader setup like Webpack/Babel you can do:\n\n```javascript\nimport angularInview from 'angular-inview';\n\nangular.module('myModule', [angularInview]);\n```\n\n## Usage\n\nThis module will define two directives: `in-view` and `in-view-container`.\n\n### InView\n\n```html\n<any in-view=\"{expression using $inview}\" in-view-options=\"{object}\"></any>\n```\n\nThe `in-view` attribute must contain a valid [AngularJS expression](http://docs.angularjs.org/guide/expression)\nto work. When the DOM element enters or exits the viewport, the expression will\nbe evaluated. To actually check if the element is in view, the following data is\navailable in the expression:\n\n- `$inview` is a boolean value indicating if the DOM element is in view.\n  If using this directive for infinite scrolling, you may want to use this like\n  `<any in-view=\"$inview&&myLoadingFunction()\"></any>`.\n\n- `$inviewInfo` is an object containing extra info regarding the event\n\n  ```\n  {\n    changed: <boolean>,\n    event: <DOM event>,\n    element: <DOM element>,\n    elementRect: {\n      top: <number>,\n      left: <number>,\n      bottom: <number>,\n      right: <number>,\n    },\n    viewportRect: {\n      top: <number>,\n      left: <number>,\n      bottom: <number>,\n      right: <number>,\n    },\n    direction: { // if generateDirection option is true\n      vertical: <number>,\n      horizontal: <number>,\n    },\n    parts: { // if generateParts option is true\n      top: <boolean>,\n      left: <boolean>,\n      bottom: <boolean>,\n      right: <boolean>,\n    },\n  }\n  ```\n\n  - `changed` indicates if the inview value changed with this event\n  - `event` the DOM event that triggered the inview check\n  - `element` the DOM element subject of the inview check\n  - `elementRect` a rectangle with the virtual (considering offset) position of\n    the element used for the inview check\n  - `viewportRect` a rectangle with the virtual (considering offset) viewport\n    dimensions used for the inview check\n  - `direction` an indication of how the element has moved from the last event\n    relative to the viewport. Ie. if you scoll the page down by 100 pixels, the\n    value of `direction.vertical` will be `-100`\n  - `parts` an indication of which side of the element are fully visible. Ie. if\n    `parts.top=false` and `parts.bottom=true` it means that the bottom part of\n    the element is visible at the top of the viewport (but its top part is\n    hidden behind the browser bar)\n\nAn additional attribute `in-view-options` can be specified with an object value containing:\n\n- `offset`: An expression returning an array of values to offset the element position.\n\n  Offsets are expressed as arrays of 4 values `[top, right, bottom, left]`.\n  Like CSS, you can also specify only 2 values `[top/bottom, left/right]`.\n\n  Values can be either a string with a percentage or numbers (in pixel).\n  Positive values are offsets outside the element rectangle and\n  negative values are offsets to the inside.\n\n  Example valid values for the offset are: `100`, `[200, 0]`,\n  `[100, 0, 200, 50]`, `'20%'`, `['50%', 30]`\n\n- `viewportOffset`: Like the element offset but appied to the viewport. You may\n  want to use this to shrink the virtual viewport effectivelly checking if your\n  element is visible (i.e.) in the bottom part of the screen `['-50%', 0, 0]`.\n\n- `generateDirection`: Indicate if the `direction` information should\n  be included in `$inviewInfo` (default false).\n\n- `generateParts`: Indicate if the `parts` information should\n  be included in `$inviewInfo` (default false).\n\n- `throttle`: a number indicating a millisecond value of throttle which will\n  limit the in-view event firing rate to happen every that many milliseconds\n\n### InViewContainer\n\nUse `in-view-container` when you have a scrollable container that contains `in-view`\nelements. When an `in-view` element is inside such container, it will properly\ntrigger callbacks when the container scrolls as well as when the window scrolls.\n\n```html\n<div style=\"height: 150px; overflow-y: scroll; position: fixed;\" in-view-container>\n\t<div style=\"height: 300px\" in-view=\"{expression using $inview}\"></div>\n</div>\n```\n\n## Examples\n\nThe following triggers the `lineInView` when the line comes in view:\n\n```html\n<li ng-repeat=\"t in testLines\" in-view=\"lineInView($index, $inview, $inviewpart)\">This is test line #{{$index}}</li>\n```\n\n**See more examples in the [`examples` folder](./examples).**\n\n## Migrate from v1\n\nVersion 1 of this directive can still be installed with\n`npm install angular-inview@1.5.7`. If you already have v1 and want to\nupgrade to v2 here are some tips:\n\n- `throttle` option replaces `debounce`. You can just change the name. Notice that\n  the functioning has changed as well, a debounce waits until there are no more\n  events for the given amount of time before triggering; throttle instead stabilizes\n  the event triggering only once every amount of time. In practival terms this\n  should not affect negativelly your app.\n- `offset` and `viewportOffset` replace the old offset options in a more structured\n  and flexible way. `offsetTop: 100` becomes `offset: [100, 0, 0, 0]`.\n- `$inviewInfo.event` replaces `$event` in the expression.\n- `generateParts` in the options has now to be set to `true` to have\n  `$inviewInfo.parts` available.\n\n## Contribute\n\n1. Fork this repo\n2. Setup your new repo with `npm install` and `npm install angular`\n3. Edit `angular-inview.js` and `angular-inview.spec.js` to add your feature\n4. Run `npm test` to check that all is good\n5. Create a [PR](https://github.com/thenikso/angular-inview/pulls)\n\nIf you want to become a contributor with push access open an issue asking that\nor contact the author directly.\n","maintainers":[{"name":"nikso","email":"thenikso@gmail.com"}],"time":{"modified":"2022-06-13T02:54:21.977Z","created":"2015-02-16T09:08:28.660Z","1.5.0":"2015-02-16T09:08:28.660Z","1.5.5":"2015-10-15T17:40:18.315Z","1.5.6":"2015-10-15T17:48:40.950Z","1.5.7":"2016-03-11T18:47:00.424Z","2.0.0-beta.1":"2016-08-18T08:31:18.335Z","2.0.0-beta.2":"2016-08-19T16:53:12.055Z","2.0.0":"2016-08-19T19:35:32.653Z","2.1.0":"2016-09-28T14:55:18.546Z","2.2.0":"2016-11-17T14:42:27.409Z","2.3.0":"2017-09-25T09:23:47.102Z","2.3.1":"2018-01-29T13:00:51.064Z","3.0.0":"2018-01-29T13:16:37.624Z","3.1.0":"2019-02-09T19:12:17.750Z"},"author":{"name":"Nicola Peduzzi","email":"thenikso@gmail.com","url":"http://nikso.net"},"readmeFilename":"README.md","users":{"jonabasque":true},"homepage":"https://github.com/thenikso/angular-inview#readme","repository":{"type":"git","url":"git+https://github.com/thenikso/angular-inview.git"},"bugs":{"url":"https://github.com/thenikso/angular-inview/issues"},"license":"MIT","keywords":["angualr","inview"]}