This commit is contained in:
2025-02-11 17:20:48 +08:00
parent 1a99fa6ba3
commit 4f495f9abf
6 changed files with 169 additions and 100 deletions

View File

@@ -0,0 +1,26 @@
class Link1Handler {
constructor(env, headerSpace) {
Link1Handler.APP_ENV = env;
const elements = createBtnGroupArea('link-1-action-area', '0,1歳日誌データ連携', this.handleLink, {
btnElId: 'link-1-btn',
yearElId: 'link-1-year',
monthElId: 'link-1-month',
})
if (!elements) {
return;
}
headerSpace.appendChild(elements['link-1-action-area']);
}
handleLink(e, { year, month }) {
}
static getInstance(env, headerSpace) {
if (!Link1Handler.instance) {
Link1Handler.instance = new Link1Handler(env, headerSpace);
}
return Link1Handler.instance;
}
}