Interface INgModelController
Properties
$asyncValidators
$dirty
$dirty: boolean
$error
$error: any
$formatters
$invalid
$invalid: boolean
$modelValue
$modelValue: any
$name
$name: string
$parsers
$pending
$pending: any
$pristine
$pristine: boolean
$touched
$touched: boolean
$untouched
$untouched: boolean
$valid
$valid: boolean
$validators
$viewChangeListeners
$viewValue
$viewValue: any
Methods
$commitViewValue
-
Returns void
$isEmpty
- $isEmpty(value: any): boolean
-
Parameters
Returns boolean
$render
-
Returns void
$rollbackViewValue
- $rollbackViewValue(): void
-
Returns void
$setDirty
-
Returns void
$setPristine
-
Returns void
$setTouched
-
Returns void
$setUntouched
-
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
-
Returns void