[−][src]Trait yew::virtual_dom::Listener
The Listener
trait is an universal implementation of an event listener
which is used to bind Rust-listener to JS-listener (DOM).
Required methods
fn kind(&self) -> &'static str
Returns the name of the event
fn attach(&self, element: &Element) -> EventListener
Attaches a listener to the element.