2020-06-29 01:12:44 +00:00
|
|
|
import {UIElement} from "../UIElement";
|
2020-08-17 15:23:15 +00:00
|
|
|
import {UIEventSource} from "../../Logic/UIEventSource";
|
2020-06-25 01:39:31 +00:00
|
|
|
|
|
|
|
export class VariableUiElement extends UIElement {
|
|
|
|
private _html: UIEventSource<string>;
|
|
|
|
|
2020-09-12 21:15:17 +00:00
|
|
|
constructor(html: UIEventSource<string>) {
|
2020-06-25 01:39:31 +00:00
|
|
|
super(html);
|
|
|
|
this._html = html;
|
|
|
|
}
|
|
|
|
|
2020-07-20 16:24:00 +00:00
|
|
|
InnerRender(): string {
|
2020-06-25 01:39:31 +00:00
|
|
|
return this._html.data;
|
|
|
|
}
|
2020-08-22 16:57:27 +00:00
|
|
|
|
2020-06-25 01:39:31 +00:00
|
|
|
}
|