interface NgModelController {
    $asyncValidators: {};
    $commitViewValue: (() => void);
    $dirty: boolean;
    $error: {};
    $formatters: ((arg0: any) => any)[];
    $invalid: boolean;
    $isEmpty: ((arg0: any) => boolean);
    $modelValue: any;
    $name: string;
    $overrideModelOptions: ((arg0: NgModelOptions) => void);
    $parsers: ((arg0: any, arg1: any) => boolean)[];
    $pending: {};
    $pristine: boolean;
    $processModelValue: (() => void);
    $render: (() => void);
    $rollbackViewValue: (() => void);
    $setDirty: (() => void);
    $setPristine: (() => void);
    $setTouched: (() => void);
    $setUntouched: (() => void);
    $setValidity: ((arg0: string, arg1: boolean) => void);
    $setViewValue: ((arg0: any, arg1: string) => void);
    $touched: boolean;
    $untouched: boolean;
    $valid: boolean;
    $validate: (() => void);
    $validators: {};
    $viewChangeListeners: (() => any)[];
    $viewValue: any;
}

Properties

$asyncValidators: {}

Asynchronous validators.

$commitViewValue: (() => void)

Commits the view value.

$dirty: boolean

True if the control is dirty.

$error: {}

Validation errors.

$formatters: ((arg0: any) => any)[]

Array of formatters.

$invalid: boolean

True if the control is invalid.

$isEmpty: ((arg0: any) => boolean)

Checks if the value is empty.

$modelValue: any

The current model value.

$name: string

The name of the control.

$overrideModelOptions: ((arg0: NgModelOptions) => void)

Overrides model options.

$parsers: ((arg0: any, arg1: any) => boolean)[]

Array of parsers.

$pending: {}

Pending validation.

$pristine: boolean

True if the control is pristine.

$processModelValue: (() => void)

Processes the model value.

$render: (() => void)

Renders the view value.

$rollbackViewValue: (() => void)

Rolls back the view value.

$setDirty: (() => void)

Marks the control as dirty.

$setPristine: (() => void)

Marks the control as pristine.

$setTouched: (() => void)

Marks the control as touched.

$setUntouched: (() => void)

Marks the control as untouched.

$setValidity: ((arg0: string, arg1: boolean) => void)

Sets the validity state.

$setViewValue: ((arg0: any, arg1: string) => void)

Sets the view value.

$touched: boolean

True if the control has been touched.

$untouched: boolean

True if the control has not been touched.

$valid: boolean

True if the control is valid.

$validate: (() => void)

Validates the control.

$validators: {}

Synchronous validators.

$viewChangeListeners: (() => any)[]

Array of view change listeners.

$viewValue: any

The current view value.