Function zng::undo::undo_interval

source ยท
pub fn undo_interval(
    child: impl UiNode,
    interval: impl IntoVar<Duration>,
) -> impl UiNode
Expand description

P Sets the time interval that undo and redo cover each call for undo handlers in the widget and descendants.

When undo is requested inside the context all actions after the latest that are within interval of the previous are undone.

This property sets the UNDO_INTERVAL_VAR.