forked from MapComplete/MapComplete
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			No EOL
		
	
	
		
			362 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			No EOL
		
	
	
		
			362 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import {UIElement} from "../UIElement";
 | 
						|
import {UIEventSource} from "../../Logic/UIEventSource";
 | 
						|
 | 
						|
export class VariableUiElement extends UIElement {
 | 
						|
    private _html: UIEventSource<string>;
 | 
						|
 | 
						|
    constructor(html: UIEventSource<string>) {
 | 
						|
        super(html);
 | 
						|
        this._html = html;
 | 
						|
    }
 | 
						|
 | 
						|
    InnerRender(): string {
 | 
						|
        return this._html.data;
 | 
						|
    }
 | 
						|
 | 
						|
} |