Emitted when the iframe has finished loading -> corresponds to the iframe onload event.

Do NOT manually subscribe to the sambaFrame.frame.onload event, because it will override the internal handler of our SDK and app won't function. Subscribe to the frameLoaded instead as shown if you want to listen to the onload event of the iframe.

Sample subscription code

sambaFrame.on('frameLoaded', () => {
  console.log('The iframe has been loaded');

Last updated