Using Finsemble API

The FSBL onReady event is fired when all registered clients have completed their initialization. Any code depending on the entire library being initialized (e.g., rendering a React component) should be executed inside of theonReady callback. At this point, Finsemble is ready to be used.

if (window.FSBL && FSBL.addEventListener) {
	FSBL.addEventListener("onReady", init);
} else {
	window.addEventListener("FSBLReady", init);
}

This code performs an essential step in our API, so make sure you include it whenever you use Finsemble API.