Add image upload functionality with imgur

This commit is contained in:
Pieter Vander Vennet 2020-06-25 03:39:31 +02:00
parent 6187122294
commit 2acd53d150
21 changed files with 458 additions and 69 deletions

17
UI/VariableUIElement.ts Normal file
View file

@ -0,0 +1,17 @@
import {UIElement} from "./UIElement";
import {UIEventSource} from "./UIEventSource";
export class VariableUiElement extends UIElement {
private _html: UIEventSource<string>;
constructor(html: UIEventSource<string>) {
super(html);
this._html = html;
}
protected InnerRender(): string {
return this._html.data;
}
}