import ViewMode, { ViewModeArgs } from "../view_mode"; const TPL = /*html*/`
Board view goes here.
`; export interface StateInfo { }; export default class BoardView extends ViewMode { private $root: JQuery; private $container: JQuery; constructor(args: ViewModeArgs) { super(args, "board"); this.$root = $(TPL); this.$container = this.$root.find(".board-view-container"); args.$parent.append(this.$root); } async renderList(): Promise | undefined> { // this.$container.empty(); this.renderBoard(this.$container[0]); return this.$root; } private async renderBoard(el: HTMLElement) { } }