2015-06-01 22:51:00 -07:00
p.location-badge.
exported from <a href='../forms'>angular2/forms</a>
2015-06-19 12:08:22 -07:00
defined in <a href="https://github.com/angular/angular/tree/3a0410a/modules/angular2/src/forms/model.ts#L41-L139">angular2/src/forms/model.ts (line 41)</a>
2015-06-01 22:51:00 -07:00
:markdown
Omitting from external API doc as this is really an abstract internal concept.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(validator: Function)
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 validator
:markdown
.l-sub-section
h3 value
:markdown
.l-sub-section
h3 status
:markdown
.l-sub-section
h3 valid
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
h3 errors
:markdown
.l-sub-section
h3 pristine
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 dirty
:markdown
.l-sub-section
h3 touched
:markdown
.l-sub-section
h3 untouched
:markdown
.l-sub-section
h3 valueChanges
:markdown
.l-sub-section
h3 markAsTouched
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
2015-06-19 12:08:22 -07:00
markAsTouched()
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 markAsDirty
2015-06-01 22:51:00 -07:00
2015-06-19 12:08:22 -07:00
pre.prettyprint
code.
markAsDirty({onlySelf}?: {onlySelf?: boolean})
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 setParent
2015-06-01 22:51:00 -07:00
pre.prettyprint
code.
2015-06-19 12:08:22 -07:00
setParent(parent)
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 updateValidity
2015-06-01 22:51:00 -07:00
2015-06-19 12:08:22 -07:00
pre.prettyprint
code.
updateValidity({onlySelf}?: {onlySelf?: boolean})
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 updateValueAndValidity
2015-06-01 22:51:00 -07:00
2015-06-19 12:08:22 -07:00
pre.prettyprint
code.
updateValueAndValidity({onlySelf, emitEvent}?: {onlySelf?: boolean,
emitEvent?: boolean})
2015-06-01 22:51:00 -07:00
:markdown
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 find
2015-06-01 22:51:00 -07:00
2015-06-19 12:08:22 -07:00
pre.prettyprint
code.
find(path: List<string | number>| string)
2015-06-01 22:51:00 -07:00
:markdown
2015-06-19 12:08:22 -07:00
.l-sub-section
h3 getError
pre.prettyprint
code.
getError(errorCode: string, path?: List<string>)
:markdown
2015-06-01 22:51:00 -07:00
.l-sub-section
2015-06-19 12:08:22 -07:00
h3 hasError
2015-06-01 22:51:00 -07:00
2015-06-19 12:08:22 -07:00
pre.prettyprint
code.
hasError(errorCode: string, path?: List<string>)
2015-06-01 22:51:00 -07:00
:markdown