forked from MapComplete/MapComplete
Fix deployment, fix documentation generation, add a small markdown generator
This commit is contained in:
parent
e480c97676
commit
8e72b70742
27 changed files with 478 additions and 399 deletions
|
@ -33,27 +33,6 @@ export abstract class UIElement extends BaseUIElement{
|
|||
return this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Update(): void {
|
||||
|
||||
}
|
||||
|
||||
Render(): string {
|
||||
return this.InnerRenderAsString()
|
||||
}
|
||||
|
||||
|
||||
public InnerRenderAsString(): string {
|
||||
let rendered = this.InnerRender();
|
||||
if (typeof rendered !== "string") {
|
||||
let html = rendered.ConstructElement()
|
||||
return html.innerHTML
|
||||
}
|
||||
return rendered
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Should be overridden for specific HTML functionality
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue