| 
									
										
										
										
											2016-03-05 17:53:34 -05:00
										 |  |  | // #docregion
 | 
					
						
							| 
									
										
										
										
											2016-05-03 14:06:32 +02:00
										 |  |  | import { QuestionBase } from './question-base'; | 
					
						
							| 
									
										
										
										
											2016-03-05 17:53:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-08 01:06:25 +02:00
										 |  |  | export class DropdownQuestion extends QuestionBase<string> { | 
					
						
							| 
									
										
										
										
											2016-03-05 17:53:34 -05:00
										 |  |  |   controlType = 'dropdown'; | 
					
						
							| 
									
										
										
										
											2016-06-08 01:06:25 +02:00
										 |  |  |   options: {key: string, value: string}[] = []; | 
					
						
							| 
									
										
										
										
											2016-03-05 17:53:34 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-08 01:06:25 +02:00
										 |  |  |   constructor(options: {} = {}) { | 
					
						
							| 
									
										
										
										
											2016-03-05 17:53:34 -05:00
										 |  |  |     super(options); | 
					
						
							|  |  |  |     this.options = options['options'] || []; | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |