1
0
Fork 0
VaultUI/src/pages/Template.js
2021-04-17 11:30:10 +01:00

24 lines
471 B
JavaScript

import { Page } from "../types/Page.js";
import { setPageContent, setTitleElement, changePage } from "../pageUtils.js";
import { makeElement } from "../htmlUtils.js";
export class TemplatePage extends Page {
constructor() {
super();
}
goBack() {
changePage("HOME");
}
async render() {
setTitleElement(pageState);
setPageContent(makeElement({
tag: "p",
text: "[PLACEHOLDER]"
}));
}
get name() {
return "Template";
}
}