Interface ValidationState

Index

Methods

Methods

public findIn(model: any, includeSubModels?: boolean, recurse?: boolean, validationStates?: IValidationState[]): IValidationState[]

Parameters

  • model: any
  • includeSubModels?: boolean optional
  • recurse?: boolean optional
  • validationStates?: IValidationState[] optional

Returns

IValidationState[]

public getFor(modelOrObservableOrComputed: any): IValidationState

Parameters

  • modelOrObservableOrComputed: any

Returns

IValidationState

public has(modelOrObservableOrComputed: any): boolean

Parameters

  • modelOrObservableOrComputed: any

Returns

boolean

public setFor(modelOrObservableOrComputed: any, state: IValidationState)

Parameters