13 lines
		
	
	
		
			266 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			266 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'] || '';
 | |
|   }
 | |
| }
 |