mapcomplete/UI/Base/FixedUiElement.ts
2020-07-20 15:54:50 +02:00

16 lines
289 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;
}
}