Describes the constructor function for an ValidatorSystem implementation.

interface ValidatorSystemConstructor {
    new ValidatorSystemConstructornew (options?: {
        constrain?: boolean;
        element?: HTMLElement;
        enabled?: boolean;
        height?: number;
        lock?: boolean;
        width?: number;
    }): ValidatorSystem;
}

Constructors

Constructors

  • Parameters

    • Optionaloptions: {
          constrain?: boolean;
          element?: HTMLElement;
          enabled?: boolean;
          height?: number;
          lock?: boolean;
          width?: number;
      }

      Initial options.

      • Optionalconstrain?: boolean

        Constrain state.

      • Optionalelement?: HTMLElement

        Target element.

      • Optionalenabled?: boolean

        Enabled state.

      • Optionalheight?: number

        Manual height.

      • Optionallock?: boolean

        Lock parameters from being set.

      • Optionalwidth?: number

        Manual width.

    Returns ValidatorSystem