Walkthrough Listener

A listener to handle the states of a Walkthrough.

Declared In

lib/main/modules/InjectorModule.js


Setting up

Synerise.Injector.setWalkthroughListener({
      onHide: function() {
        // your implementation
      },
      onLoad: function() {
        // your implementation
      },
      onLoadingError: function(error: Error) {
        // your implementation
      },
      onPresent: function() {
        // your implementation
      }
    });

Functions


The following method is called after a walkthrough appears.

onPresent: function() {
	//implementation
}


The following method is called when a walkthrough disappears.

onHide: function() {
	//implementation
}


The following method is called when a walkthrough is loaded.

onLoad: function() {
  //implementation
}


The following method is called when an error occurs while loading the walkthrough.

onLoadingError: function(error: Error) {
        // your implementation
      }

Parameter Type Description
error Error Error
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.