Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INgModelController

Hierarchy

  • INgModelController

Index

Properties

$asyncValidators

$asyncValidators: IAsyncModelValidators

$dirty

$dirty: boolean

$error

$error: any

$formatters

$formatters: IModelFormatter[]

$invalid

$invalid: boolean

$modelValue

$modelValue: any

$name

$name: string

$parsers

$parsers: IModelParser[]

$pending

$pending: any

$pristine

$pristine: boolean

$touched

$touched: boolean

$untouched

$untouched: boolean

$valid

$valid: boolean

$validators

$validators: IModelValidators

$viewChangeListeners

$viewChangeListeners: IModelViewChangeListener[]

$viewValue

$viewValue: any

Methods

$commitViewValue

  • $commitViewValue(): void
  • Returns void

$isEmpty

  • $isEmpty(value: any): boolean
  • Parameters

    • value: any

    Returns boolean

$render

  • $render(): void
  • Returns void

$rollbackViewValue

  • $rollbackViewValue(): void
  • Returns void

$setDirty

  • $setDirty(): void
  • Returns void

$setPristine

  • $setPristine(): void
  • Returns void

$setTouched

  • $setTouched(): void
  • Returns void

$setUntouched

  • $setUntouched(): void
  • Returns void

$setValidity

  • $setValidity(validationErrorKey: string, isValid: boolean): void
  • Parameters

    • validationErrorKey: string
    • isValid: boolean

    Returns void

$setViewValue

  • $setViewValue(value: any, trigger?: string): void
  • Parameters

    • value: any
    • Optional trigger: string

    Returns void

$validate

  • $validate(): void
  • Returns void

Generated using TypeDoc