p.location-badge. exported from angular2/forms defined in angular2/src/forms/model.ts (line 37) :markdown This module is used for handling user input, by defining and building a ControlGroup that consists of Control objects, and mapping them onto the DOM. Control objects can then be used to read information from the form DOM elements. This module is not included in the `angular2` module; you must import the forms module explicitly. .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(validator: Function) :markdown .l-sub-section h3 validator :markdown .l-sub-section h3 value :markdown .l-sub-section h3 status :markdown .l-sub-section h3 valid :markdown .l-sub-section h3 errors :markdown .l-sub-section h3 pristine :markdown .l-sub-section 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 pre.prettyprint code. markAsTouched() :markdown .l-sub-section h3 markAsDirty pre.prettyprint code. markAsDirty({onlySelf}?: {onlySelf?: boolean}) :markdown .l-sub-section h3 setParent pre.prettyprint code. setParent(parent: ControlGroup | ControlArray) :markdown .l-sub-section h3 updateValidity pre.prettyprint code. updateValidity({onlySelf}?: {onlySelf?: boolean}) :markdown .l-sub-section h3 updateValueAndValidity pre.prettyprint code. updateValueAndValidity({onlySelf, emitEvent}?: {onlySelf?: boolean, emitEvent?: boolean}) :markdown .l-sub-section h3 find pre.prettyprint code. find(path: Array<string | number>| string) :markdown .l-sub-section h3 getError pre.prettyprint code. getError(errorCode: string, path?: string[]) :markdown .l-sub-section h3 hasError pre.prettyprint code. hasError(errorCode: string, path?: string[]) :markdown