forked from MapComplete/MapComplete
		
	
		
			
	
	
		
			16 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
	
		
			282 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| 
								 | 
							
								import {UIElement} from "./UIElement";
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								export class FixedUiElement extends UIElement {
							 | 
						||
| 
								 | 
							
								    private _html: string;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    constructor(html: string) {
							 | 
						||
| 
								 | 
							
								        super(undefined);
							 | 
						||
| 
								 | 
							
								        this._html = html;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    protected InnerRender(): string {
							 | 
						||
| 
								 | 
							
								        return this._html;
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								}
							 |