[−][src]Trait tether::Handler
An event handler; you probably want to implement one.
- When the webpage calls
window.tether
, the message is passed tohandle
. - The handler is dropped when the window is closed.
Provided methods
fn handle(&mut self, window: Window, message: &str)
The webpage called window.tether
with the given string.