Undo Holder

data class UndoHolder<T>(val undoState: State<UndoState<T>>, val setValue: SetValueFn<T>, val resetValue: ResetValueFn<T>, val undo: UndoFn, val redo: RedoFn, val canUndo: CanUndo, val canRedo: CanRedo)

Constructors

Link copied to clipboard
constructor(undoState: State<UndoState<T>>, setValue: SetValueFn<T>, resetValue: ResetValueFn<T>, undo: UndoFn, redo: RedoFn, canUndo: CanUndo, canRedo: CanRedo)

Properties

Link copied to clipboard
val canRedo: CanRedo
Link copied to clipboard
val canUndo: CanUndo
Link copied to clipboard
val redo: RedoFn
Link copied to clipboard
val resetValue: ResetValueFn<T>
Link copied to clipboard
val setValue: SetValueFn<T>
Link copied to clipboard
val undo: UndoFn
Link copied to clipboard