import AbstractView from "./AbstractView.js"; export default class extends AbstractView { constructor(params) { super(params); this.postId = params.id; this.setTitle("Viewing Post"); } async getHtml() { return `

Post

You are viewing post #${this.postId}.

`; } }