Constructor
new mw.guidedTour.launcher()
#
A module for launching guided tours that has no dependencies. This stops the ext.guidedTour.lib being loaded if it's not needed.
- Source:
A module for launching guided tours that has no dependencies.
Methods
launchTour(tourName, [tourId])static
#
Loads the ext.guidedTour.lib library and launches the guided tour.
See the documentation for mw.guidedTour.launchTour for
details of the tourName and tourId parameters.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
tourName |
string | Name of tour |
||
tourId |
string |
optional |
'gt-' + tourName + '-' + step | ID of tour and step |
- Source:
Loads the ext.guidedTour.lib library and launches the guided tour.