pub
/// Reset all animation state associated with the given element ID.
///
/// Call this before navigating away from a view that uses `transition_on_hover`
/// so that stale hover state does not reappear when the element is re-rendered.
///
/// ```ignore
/// .on_mouse_down(MouseButton::Left, move |_e, w, cx| {
/// gpui_animation::reset_transition(&ElementId::Name("my-row".into()));
/// on_click(w, cx);
/// })
/// ```