mirror of
https://github.com/Wx-2025/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 08:05:49 +00:00
24 lines
635 B
JavaScript
24 lines
635 B
JavaScript
import { Module, ModuleBuilder } from './Module.js';
|
|
import { bindTableEvents } from '../../ui/table-bindings.js';
|
|
|
|
const builder = new ModuleBuilder()
|
|
.name('TableModule')
|
|
.view('assets/amily-data-table/Memorisation-forms.html')
|
|
.strict(true)
|
|
.required(['mount']);
|
|
|
|
export default class TableModule extends Module {
|
|
constructor() {
|
|
super(builder);
|
|
}
|
|
|
|
async mount() {
|
|
if (this.el) {
|
|
this.el.id = 'amily2_memorisation_forms_panel';
|
|
this.el.style.display = 'none';
|
|
this.el.dataset.module = 'TableModule';
|
|
}
|
|
bindTableEvents(this.el);
|
|
}
|
|
}
|