Callbacks are a powerful feature that allows you to extend Inline Manual capabilities when it comes to branching or more complex logic. With callbacks, you can create dynamic events on top of the existing functionality, while still allowing the authors to have control over what is happening and what they want to achieve. To do this, a developer would need to prepare a function in your application source code to make it available through callbacks.
Steps in walkthroughs or launchers can have three different callbacks, with an option to pass custom parameters. You can use this to call special functions.
Here are some examples with sample code to demonstrate how to use callbacks.
- Mimic a click on an element when the step is activated,
- Skip a step if an element isn't present,
- Move to the next step automatically after X seconds.