ft:pageopening - Fluid Topics - Latest

Integrate the Fluid Topics API

Category
Technical Notes
Audience
public
Version
Latest

The ft:pageopening event is sent when the user navigates to a new page of the web application. The following lines show an example of how to use the ft:pageopening event:

document.addEventListener('ft:pageopening', function (event) {
  if (window.location.href.endsWith('/home')) {
    window.alert('Welcome to Fluid Topics');
  }
});