pub fn menu_out<E>(
id: impl Into<ElementId>,
t: f32,
element: E,
) -> AnimationElement<E>where
E: Styled + IntoElement + 'static,Expand description
Popover exit: the reverse of menu_in — fade to 0 + translateY 0→−2 over
MENU_OUT. Unlike the entrances, the eased progress t comes from the
caller (computed off bezel::popover::Popup’s closing instant at render
time): with_animation’s element-id-keyed clock replays from 0 on remount
(the hover-blend comment’s warning), and a replay mid-exit is a full-opacity
flash. The wall-clock progress is monotonic by construction; the animation
wrapper here only pumps frames for the exit’s span, its own delta unused.