mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
add INgModelController#$setPristine()
This exists in the 1.2.x API: https://code.angularjs.org/1.2.27/docs/api/ng/type/ngModel.NgModelController
This commit is contained in:
1
angularjs/legacy/angular-1.2.d.ts
vendored
1
angularjs/legacy/angular-1.2.d.ts
vendored
@@ -285,6 +285,7 @@ declare module ng {
|
||||
// Documentation states viewValue and modelValue to be a string but other
|
||||
// types do work and it's common to use them.
|
||||
$setViewValue(value: any): void;
|
||||
$setPristine(): void;
|
||||
$viewValue: any;
|
||||
|
||||
$modelValue: any;
|
||||
|
||||
Reference in New Issue
Block a user