This commit is contained in:
2025-10-17 14:37:47 +08:00
parent c06a3a9479
commit fe1ae0ccdf
4 changed files with 93 additions and 11 deletions

View File

@@ -22,12 +22,12 @@ export class KintoneIndexEventHandler {
};
// ボタン追加
if (document.getElementById('btn-data-fetch')) return;
if (document.getElementById('aggregator-plugin:btn-data-fetch')) return;
const kuc = Kucs['1.18.0'];
const button = new kuc.MobileButton({
text: this.config.buttonName,
type: "submit",
id: 'btn-data-fetch',
id: 'aggregator-plugin:btn-data-fetch',
});
button.addEventListener('click', () => this.handleButtonClick());
headerSpace.appendChild(button);

View File

@@ -22,12 +22,12 @@ export class KintoneIndexEventHandler {
};
// ボタン追加
if (document.getElementById('btn-data-fetch')) return;
if (document.getElementById('aggregator-plugin:btn-data-fetch')) return;
const kuc = Kucs['1.18.0'];
const button = new kuc.Button({
text: this.config.buttonName,
type: "submit",
id: 'btn-data-fetch',
id: 'aggregator-plugin:btn-data-fetch',
});
button.addEventListener('click', () => this.handleButtonClick());
headerSpace.appendChild(button);