Tour

tool_usertours/tour~ Tour

new Tour(config)

Source:
Parameters:
Name Type Description
config object

The configuration object.

Methods

dispatchEvent(eventName, detailopt, cancelableopt) → {CustomEvent}

Source:

Fire any event handlers for the specified event.

Parameters:
Name Type Attributes Default Description
eventName String

The name of the event

detail Object <optional>
{}

Any additional details to pass into the eveent

cancelable Boolean <optional>
false

Whether preventDefault() can be called

Returns:
Type
CustomEvent

getPotentiallyVisibleSteps() → {StepList}

Source:

Get potentially visible steps in a tour.

Returns:

A list of ordered steps

Type
StepList