Skip to main content

Tour Management

Learn how to manage and control tours in your application using the Oppla tours package.

Basic Usage

Initialize Tours

Start and Stop Tours

Advanced Features

Tour Events

Listen to tour events:

Tour State

Get tour state:

Multiple Tours

Manage multiple tours:

Best Practices

  1. Be Organized: Keep tour IDs consistent and meaningful
  2. Be Efficient: Only register tours when needed
  3. Be Responsive: Handle tour events appropriately
  4. Be Clean: Clean up tours when they’re no longer needed

Common Issues

Tour Not Starting

  • Check tour registration
  • Verify tour ID
  • Check for conflicts
  • Ensure proper initialization

Tour State Issues

  • Check event handlers
  • Verify state management
  • Check for race conditions
  • Ensure proper cleanup

Next Steps

Tooltips

Learn about tooltip steps

Modals

Learn about modal steps