Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IsTrueValidator

A validator that validates whether the input represents a boolean and its value is true.

Hierarchy

Index

Properties

errorMessage

errorMessage: string

Gets or sets a message that will be displayed when the new value doesn't meet the validation criteria.

successMessage

successMessage: string

Gets or sets a message that will be displayed when the new value meets the validation criteria.

Static errorMessageProperty

errorMessageProperty: Property

Identifies the errorMessage dependency property.

Static successMessageProperty

successMessageProperty: Property

Identifies the successMessage dependency property.

Methods

validate

  • validate(value: any, propertyName: string): boolean
  • Returns whether the provided value is valid for the property with propertyName.

    Parameters

    • value: any
    • propertyName: string

    Returns boolean

Generated using TypeDoc