gradum-kit - v0.1.0
    Preparing search index...

    Type Alias GradumNumericalInputProperties<ValueType, ViewType, DataType, ModelType, EmitterType>

    GradumNumericalInputProperties: GradumInputProperties<
        "input",
        ValueType,
        ViewType,
        DataType,
        ModelType,
        EmitterType,
    > & {
        multiplier?: number;
        decimalPlaces?: number;
        min?: number;
        max?: number;
    }

    Type Parameters

    • ValueType = string

      The type the input's string value is converted to and from.

    • ViewType extends GradumView = GradumView

      The element's view type, if initializing MVC.

    • DataType extends object = object

      The element's data type, if initializing MVC.

    • ModelType extends GradumModel = GradumModel

      The element's model type, if initializing MVC.

    • EmitterType extends GradumEmitter = GradumEmitter

      The element's emitter type, if initializing MVC.

    Properties to initialize a GradumNumericalInput. Extends GradumInputProperties with the numeric constraints applied to the entered value.