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

    Type Alias GradumInputProperties<InputTag, ValueType, ViewType, DataType, ModelType, EmitterType>

    GradumInputProperties: Omit<
        GradumRichElementProperties<
            InputTag,
            ViewType,
            DataType,
            ModelType,
            EmitterType,
        >,
        "element"
        | "elementTag",
    > & {
        inputTag?: InputTag;
        input?: GradumProperties<InputTag> | ValidElement<InputTag>;
        label?: string;
        locked?: boolean;
        dynamicVerticalResize?: boolean;
        inputRegexCheck?: RegExp | string;
        blurRegexCheck?: RegExp | string;
        selectTextOnFocus?: boolean;
        value?: ValueType;
        type?: string;
        placeholder?: string;
        pattern?: string;
        size?: string;
    }

    Type Parameters

    • InputTag extends "input" | "textarea" = "input"

      The tag of the inner input element.

    • 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 GradumInput. Extends GradumRichElementProperties without element and elementTag, which the input sets itself.