@fkui/logic
    Preparing search index...

    Interface Validator<TConfig>

    Describes an input validator.

    interface Validator<TConfig = ValidatorConfig> {
        instant?: boolean;
        name: string;
        validation(
            value: string,
            element: ValidatableHTMLElement,
            config: Partial<TConfig>,
        ): boolean;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    instant?: boolean

    Optional instant validation

    name: string

    The name of the validator.

    Methods