Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Basic Usage
- startBasicTour('english');
- // Example Usage:
- /*
- 1. Custom Tour with Specific Steps:
- You can create a tour with tailored steps and language settings.
- Example:
- startCustomTour({
- language: 'spanish',
- steps: ['slide', 'menu', 'next', '#custom-element'],
- });
- 2. Adding a New Language:
- Add support for a new language by defining its translations.
- Example:
- addNewLanguage('de', {
- intro: 'Willkommen zum Kurs!',
- // ... other translations
- });
- */
- /* Additional Notes:
- 1. Language Options:
- You can set the `language` parameter to your preferred choice, such as
- 'english', 'urdu', 'arabic', 'dutch', 'spanish', 'french', 'mandarin', 'portuguese', 'romanian', 'polish' .
- 2. Custom Tour Elements:
- Available elements for customization include:
- 'slide', 'resources', 'menu', 'playback', 'next', 'prev', 'volume', 'captions'.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement