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