Files
Trilium/apps/client/src/widgets/view_widgets/table_view.ts

25 lines
436 B
TypeScript
Raw Normal View History

2025-06-25 10:31:41 +03:00
import ViewMode, { ViewModeArgs } from "./view_mode";
const TPL = /*html*/`
<div class="table-view">
<p>Table view goes here.</p>
</div>
`;
export default class TableView extends ViewMode {
private $root: JQuery<HTMLElement>;
constructor(args: ViewModeArgs) {
super(args);
this.$root = $(TPL);
args.$parent.append(this.$root);
}
async renderList() {
return this.$root;
}
}