Class DriverEngine

java.lang.Object
org.vaadin.addons.ebtedge.flowtour.engine.DriverEngine
All Implemented Interfaces:
TourEngine

@JsModule("./vaadin-tour/engines/bridge.ts") @NpmPackage(value="driver.js", version="1.4.0") public class DriverEngine extends Object implements TourEngine
Implementation of the TourEngine interface using the "driver.js" library as the underlying engine for guided tours.

This class facilitates the integration of the "driver" tour engine into a Vaadin application, allowing developers to easily implement guided tours using the methods defined in the TourEngine interface.

The engine is identified by its unique identifier "driver", which is provided by the overridden getId method. This identifier is used to distinguish this engine from others, such as "shepherd," when managing multiple engine types in the application.

 Dependencies:
 - driver.js: Version 1.4.0, included as an NPM package.
 - bridge.ts: JavaScript bridge module for communication between server-side and
   client-side components.

 Notes:
 - This class relies on the EngineType.DRIVER enumeration value to retrieve the unique
   engine identifier.
 - The getId method is used internally by the framework to ensure the correct engine is
   activated for a guided tour.
 
  • Constructor Details

    • DriverEngine

      public DriverEngine()
  • Method Details