appearjs
tell if a dom element appeared or disappeared.
demo
var appearInstance = libappear;
instance API
- appearInstance.bind(node)
- appearInstance.fire()
- appearInstance.reset(opts)
static API
- lib.appear.init(options)
- lib.appear.fireAll()
events
- _appear
element.addEventListener('_appear', function(ev){});
- _disappear
element.addEventListener('_disappear', function(ev){});
- evt object
evt.data.direction
(top|right|bottom|left|none)