13 lines
		
	
	
		
			298 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			298 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
// #docregion
 | 
						|
import {QuestionBase} from './question-base';
 | 
						|
 | 
						|
export class DropdownQuestion extends QuestionBase<string>{
 | 
						|
  controlType = 'dropdown';
 | 
						|
  options:{key:string, value:string}[] = [];
 | 
						|
 | 
						|
  constructor(options:{} = {}){
 | 
						|
    super(options);
 | 
						|
    this.options = options['options'] || [];
 | 
						|
  }
 | 
						|
}
 |