| 
									
										
										
										
											2015-04-19 13:53:18 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-04-22 08:06:51 -07:00
										 |  |  | p.location-badge. | 
					
						
							| 
									
										
										
										
											2015-04-23 08:27:36 -07:00
										 |  |  |   exported from <a href="/angular2/forms.html">angular2/forms</a> | 
					
						
							| 
									
										
										
										
											2015-04-19 13:53:18 -07:00
										 |  |  |   defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/forms/model.js#L96">angular2/src/forms/model.js (line 96)</a> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :markdown | 
					
						
							|  |  |  |   Defines a part of a form that cannot be divided into other controls. | 
					
						
							|  |  |  |    | 
					
						
							| 
									
										
										
										
											2015-04-20 13:57:43 -07:00
										 |  |  |   `Control` is one of the three fundamental building blocks used to define forms in Angular, along with  | 
					
						
							| 
									
										
										
										
											2015-04-23 08:27:36 -07:00
										 |  |  |   <a href="ControlGroup-class.html"><code>ControlGroup</code></a> and <a href="ControlArray-class.html"><code>ControlArray</code></a>. | 
					
						
							| 
									
										
										
										
											2015-04-19 13:53:18 -07:00
										 |  |  |    | 
					
						
							|  |  |  | .l-main-section | 
					
						
							|  |  |  |   h2 Members | 
					
						
							|  |  |  |   .l-sub-section | 
					
						
							|  |  |  |     h3 constructor | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     pre.prettyprint | 
					
						
							|  |  |  |       code. | 
					
						
							| 
									
										
										
										
											2015-04-20 13:57:43 -07:00
										 |  |  |         constructor(value:any, validator:Function = Validators.nullValidator) | 
					
						
							| 
									
										
										
										
											2015-04-19 13:53:18 -07:00
										 |  |  |      | 
					
						
							|  |  |  |     :markdown | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   .l-sub-section | 
					
						
							|  |  |  |     h3 updateValue | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |      | 
					
						
							|  |  |  |     pre.prettyprint | 
					
						
							|  |  |  |       code. | 
					
						
							| 
									
										
										
										
											2015-04-20 13:57:43 -07:00
										 |  |  |         updateValue(value:any) | 
					
						
							| 
									
										
										
										
											2015-04-19 13:53:18 -07:00
										 |  |  |      | 
					
						
							|  |  |  |     :markdown | 
					
						
							|  |  |  |        | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 |