<div align="center">
<h1><code>gloo-events</code></h1>
<p>
<a href="https://crates.io/crates/gloo-events"><img src="https://img.shields.io/crates/v/gloo-events.svg?style=flat-square" alt="Crates.io version" /></a>
<a href="https://crates.io/crates/gloo-events"><img src="https://img.shields.io/crates/d/gloo-events.svg?style=flat-square" alt="Download" /></a>
<a href="https://docs.rs/gloo-events"><img src="https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square" alt="docs.rs docs" /></a>
</p>
<h3>
<a href="https://docs.rs/gloo-events">API Docs</a>
<span> | </span>
<a href="https://github.com/rustwasm/gloo/blob/master/CONTRIBUTING.md">Contributing</a>
<span> | </span>
<a href="https://discordapp.com/channels/442252698964721669/443151097398296587">Chat</a>
</h3>
<sub>Built with 🦀🕸 by <a href="https://rustwasm.github.io/">The Rust and WebAssembly Working Group</a></sub>
</div>
Using event listeners with [`web-sys`](https://crates.io/crates/web-sys) is hard! This crate
provides an [`EventListener`] type which makes it easy!
See the documentation for [`EventListener`] for more information.
[`EventListener`]: https://docs.rs/gloo-events/latest/gloo_events/struct.EventListener.html