Skip to content

QuickStart Javascript

Create a customization

 ./dist/kintone-ui-component.min.js
 ./dist/kintone-ui-component.min.css
  • Create index.js file
(function () {
    kintone.events.on("app.record.index.show", function (ev) {
      var kintoneSpaceElement = kintone.app.getHeaderSpaceElement();
      var button = new kintoneUIComponent.Button({ text: 'Submit' });
      kintoneSpaceElement.appendChild(button.render());
      button.on('click', function(){
        alert('This is my customization');
      })
    });
  })();