Class IgxColumPatternValidatorDirective

Hierarchy

Hierarchy

  • PatternValidator
    • IgxColumPatternValidatorDirective

Constructors

Properties

pattern: string | RegExp

Tracks changes to the pattern bound to this directive.

ɵdir: unknown
ɵfac: unknown

Methods

  • Determines whether this validator should be active or not based on an input. Base class implementation checks whether an input is defined (if the value is different from null and undefined). Validator classes that extend this base class can override this function with the logic specific to a particular validator directive.

    Parameters

    • input: unknown

    Returns boolean

  • @docs-private

    Parameters

    • changes: SimpleChanges

    Returns void

  • @docs-private

    Parameters

    • fn: () => void

    Returns void

  • @docs-private

    Parameters

    • control: AbstractControl

    Returns ValidationErrors