Onload Event

Contents

Onload Event (desktop) - portal.show

This event triggers on the desktop Kintone portal page, after all widgets have been displayed.
Widgets refer to the Announcement, Notifications, Assigned to Me, Spaces and Apps widgets.

Event

portal.show

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
type String The event type.

Sample Code

1
2
3
kintone.events.on('portal.show', function(event) {
  window.alert('Hello Kintone!');
});

Available Event Object Actions

By returning a kintone.Promise object in the event handler, the next operations can be processed after waiting for asynchronous processes in the event handler to finish.

Onload Event (mobile) - mobile.portal.show

This event triggers on the mobile Kintone portal page, after all widgets have been displayed.
Widgets refer to the Announcement, Apps and Spaces widgets.

Event

mobile.portal.show

Properties of the Event Object

PROPERTY TYPE DESCRIPTION
type String The event type.

Sample Code

1
2
3
kintone.events.on('mobile.portal.show', function(evnet) {
  window.alert('Hello Kintone');
});

Available Event Object Actions

By returning a kintone.Promise object in the event handler, the next operations can be processed after waiting for asynchronous processes in the event handler to finish.

Limitations

  • These events do not trigger on Kintone portals for Guest users (External link) .