1
0
Fork 0
VaultUI/src/pages/Template.js

24 lines
463 B
JavaScript
Raw Normal View History

2021-04-16 18:57:59 +01:00
import { Page } from "../types/Page.js";
import { setPageContent, setTitleElement } from "../pageUtils.js";
import { makeElement } from "../htmlUtils.js";
export class TemplatePage extends Page {
constructor() {
super();
}
goBack() {
changePage(pages.HOME);
}
async render() {
setTitleElement(pageState);
setPageContent(makeElement({
tag: "p",
text: "[PLACEHOLDER]"
}));
}
get name() {
return "Template";
}
}