Boost!for kintone
EVENTS

Events

These are the types of display events and the properties of the event object passed to the event handler.

01

Before record add screen display event

Target plugins

Boost! Injector

Event type
bst.create.load
Properties of the event object
Property Type Description
type String

Event type

container DOM

MAIN element

<main class="bst-injector-body"></main>
record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.create.load', (event) => {
		console.log(event);
		return event;
	});
})();
02

Record add screen display complete event

Target plugins

Boost! Injector

Event type
bst.create.load.complete
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.create.load event.

Sample
(() => {
	"use strict";
	bst.event.on('bst.create.load.complete', (event) => {
		console.log(event);
		return event;
	});
})();

The event object does not include the record property.

03

Before record edit screen display event

Target plugins

Boost! Injector

Event type
bst.edit.load
Properties of the event object
Property Type Description
type String

Event type

container DOM

MAIN element

<main class="bst-injector-body"></main>
record Object

Record object

Sample
(() => {
	"use strict";
	bst.event.on('bst.edit.load', (event) => {
		console.log(event);
		return event;
	});
})();
04

Record edit screen display complete event

Target plugins

Boost! Injector

Event type
bst.edit.load.complete
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.edit.load event.

Sample
(() => {
	"use strict";
	bst.event.on('bst.edit.load.complete', (event) => {
		console.log(event);
		return event;
	});
})();

The event object does not include the record property.

05

Before view screen display event

Target plugins

Boost! Echo

Event type
bst.view.load
Properties of the event object
Property Type Description
type String

Event type

container DOM

List format: the table element in which the data is placed

<table class="bst-view"></table>

Calendar format: the table element in which the data is placed

<table class="bst-calendar"></table>
records Array

Array of record objects

totalCount Number

Total number of records retrieved

Sample
(() => {
	"use strict";
	bst.event.on('bst.view.load', (event) => {
		console.log(event);
		return event;
	});
})();

At this point, DOM elements such as the table that shows the records have not yet been added inside the DOM element of the container property. To reference DOM elements, use the "View screen display complete event".

06

View screen display complete event

Target plugins

Boost! Echo

Event type
bst.view.load.complete
Properties of the event object
Property Type Description
type String

Event type

container DOM

Same as the container property of the bst.view.load event.

Sample
(() => {
	"use strict";
	bst.event.on('bst.view.load.complete', (event) => {
		console.log(event);
		return event;
	});
})();

The event object does not include the records and totalCount properties.

07

Group record extraction complete event on the Gantt chart screen

Target plugins

Boost! Group Gantt

Event type
bst.groupgantt.group.load
Properties of the event object
Property Type Description
type String

Event type

container DOM

TR element

<tr class="bst-gantt-row"></tr>
records Array

Array of record objects

Sample
(() => {
	"use strict";
	bst.event.on('bst.groupgantt.group.load', (event) => {
		console.log(event);
		return event;
	});
})();

At this point, the DOM elements of the tasks have not yet been added inside the DOM element of the container property.