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