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) {
// implementation
}
Parameter | Type | Description |
---|---|---|
error |
Error |
Error |