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