Advertisement
nrzmalik

nrzmalik Intro Tour Call

Jun 25th, 2023 (edited)
1,642
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.91 KB | Source Code | 0 0
  1. // Basic Usage
  2. startBasicTour('english');
  3.  
  4. // Example Usage:
  5. /*
  6. 1. Custom Tour with Specific Steps:
  7.    You can create a tour with tailored steps and language settings.
  8.    Example:
  9.    startCustomTour({
  10.        language: 'spanish',
  11.        steps: ['slide', 'menu', 'next', '#custom-element'],
  12.    });
  13.  
  14. 2. Adding a New Language:
  15.    Add support for a new language by defining its translations.
  16.    Example:
  17.    addNewLanguage('de', {
  18.        intro: 'Willkommen zum Kurs!',
  19.        // ... other translations
  20.    });
  21. */
  22.  
  23. /* Additional Notes:
  24. 1. Language Options:
  25.    You can set the `language` parameter to your preferred choice, such as
  26.    'english', 'urdu', 'arabic', 'dutch', 'spanish', 'french', 'mandarin', 'portuguese', 'romanian', 'polish'  .
  27.  
  28. 2. Custom Tour Elements:
  29.    Available elements for customization include:
  30.    'slide', 'resources', 'menu', 'playback', 'next', 'prev', 'volume', 'captions'.
  31. */
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement