[−][src]Function sauron::prelude::html::events::on_broadcast
pub fn on_broadcast<CB, MSG>(
cb: CB
) -> Attribute<&'static str, &'static str, AttributeValue, Event, MSG> where
CB: Fn(InputEvent) -> MSG + 'static,
MSG: 'static,
attach an on_broadcast event to the html element