formcycle 8.3.6 - JavaScript for forms
    Preparing search index...

    Type Alias ValueOrSupplier<T>

    ValueOrSupplier: { [P in keyof T]: T[P] | ((this: Window) => T[P]) }

    An object with properties. The value of each property is either the value directly, or a function that returns the value.

    For example, it is possible to pass options to autoNumeric likes this:

    $.autoNumeric({
    // Decimal separator
    aDec: ",",
    // Unit
    aSign: function() {
    return " kg";
    }
    });

    Type Parameters

    • T