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