Angular Signal Generators
    Preparing search index...

    Creates a signal whose value morphs from the old value to the new over a specified duration.

    Either a value, signal, observable, or function that can be used in a computed function.

    Options for the signal. If a number, number[] or Record<string | number symbol, number> is passed then this is not required. Otherwise an interpolator is required to translate the change of the value.

    const $animatedValue = springSignal(1, { damping: 3, stiffness: 100 });
    function demo(): void {
    $animatedValue.set(5);
    }