[][src]Function seed::dom_types::simple_ev

pub fn simple_ev<Ms, T>(trigger: T, message: Ms) -> Listener<Ms> where
    Ms: Clone + 'static,
    T: ToString

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