13 lines
		
	
	
		
			260 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			260 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								// #docregion
							 | 
						||
| 
								 | 
							
								import {QuestionBase} from './question-base';
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export class TextboxQuestion extends QuestionBase<string>{
							 | 
						||
| 
								 | 
							
								  controlType = 'textbox';
							 | 
						||
| 
								 | 
							
								  type:string;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  constructor(options:{} = {}){
							 | 
						||
| 
								 | 
							
								    super(options);
							 | 
						||
| 
								 | 
							
								    this.type = options['type'] || '';
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								}
							 |