knockout-inview
Simple knockout binding to toggle a value when an element comes into or leaves the viewport.
Usage
var foo = ko;foo;
Installation
This is how I use it with a Webpack bundled project. Your set-up may be different.
$ npm install knockout-inview --save-dev
;; kobindingHandlersinview = ;