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