Function seed::dom_types::simple_ev

source ·
pub fn simple_ev<Ms: Clone + 'static>(trigger: &str, message: Ms) -> Listener<Ms>
Expand description

Create an event that passes no data, other than it occured. Foregoes using a closure, in favor of pointing to a message directly.