update
This commit is contained in:
26
src/園児別出欠簿入力/Link1Handler.js
Normal file
26
src/園児別出欠簿入力/Link1Handler.js
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user