forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			299 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {UIElement} from "../UIElement";
 | |
| import {UIEventSource} from "../../Logic/UIEventSource";
 | |
| 
 | |
| export abstract class InputElement<T> extends UIElement{
 | |
|     
 | |
|     abstract GetValue() : UIEventSource<T>;
 | |
|     abstract IsSelected: UIEventSource<boolean>;
 | |
|     abstract IsValid(t: T) : boolean;
 | |
|     
 | |
| }
 | |
| 
 |