mapcomplete/UI/Base/FixedUiElement.ts

16 lines
279 B
TypeScript
Raw Normal View History

2020-06-29 01:12:44 +00:00
import {UIElement} from "../UIElement";
2020-06-23 22:35:19 +00:00
export class FixedUiElement extends UIElement {
private _html: string;
constructor(html: string) {
super(undefined);
2020-07-20 13:54:50 +00:00
this._html = html ?? "";
2020-06-23 22:35:19 +00:00
}
2020-07-20 16:24:00 +00:00
InnerRender(): string {
2020-06-23 22:35:19 +00:00
return this._html;
}
}