Angular Signal Generators
    Preparing search index...

    A signal that retains prior values and supports undo and redo.

    interface HistorySignal<T> {
        "[SIGNAL]": unknown;
        canRedo: Signal<boolean>;
        canUndo: Signal<boolean>;
        clearHistory(): void;
        redo(): boolean;
        undo(): boolean;
        (): T;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    "[SIGNAL]": unknown
    canRedo: Signal<boolean>

    Whether an undone value can be restored.

    canUndo: Signal<boolean>

    Whether an earlier value can be restored.