Releases: yahoo/subscribe-ui-event
Releases · yahoo/subscribe-ui-event
Expose listen
listen is a simple and cross-browser library to do the same thing as addEventListener
does. Although, there are tons of libraries have it, but it is convenient to expose it if you don't want to require other libraries.
v1.0.0: Merge pull request #20 from yahoo/v1
Some breaking changes:
- Remove
unsubscribe
standalone function. Please usesub = subscribe('scroll', func); sub.unsubscribe()
- Remove
viewportchange
virtual event.