TourOptions
The options for the tour
Properties
classPrefix?
optionalclassPrefix:string
The prefix to add to the shepherd-enabled and shepherd-target class names as well as the data-shepherd-step-id.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:44
confirmCancel?
optionalconfirmCancel:TourConfirmCancel
If true, will issue a window.confirm before cancelling.
If it is a function(support Async Function), it will be called and wait for the return value,
and will only be cancelled if the value returned is true.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:36
confirmCancelMessage?
optionalconfirmCancelMessage:string
The message to display in the window.confirm dialog.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:40
defaultStepOptions?
optionaldefaultStepOptions:StepOptions
Default options for Steps (Step#constructor), created through addStep.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:48
exitOnEsc?
optionalexitOnEsc:boolean
Exiting the tour with the escape key will be enabled unless this is explicitly set to false.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:53
id?
optionalid:string
Explicitly set the id for the tour. If not set, the id will be a generated uuid.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:57
keyboardNavigation?
optionalkeyboardNavigation:boolean
Navigating the tour via left and right arrow keys will be enabled unless this is explicitly set to false.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:62
modalContainer?
optionalmodalContainer:HTMLElement
An optional container element for the modal.
If not set, the modal will be appended to document.body.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:67
steps?
optionalsteps:StepOptions[] |Step[]
An array of step options objects or Step instances to initialize the tour with.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:76
stepsContainer?
optionalstepsContainer:HTMLElement
An optional container element for the steps.
If not set, the steps will be appended to document.body.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:72
tourName?
optionaltourName:string
An optional “name” for the tour. This will be appended to the the tour’s
dynamically generated id property.
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:81
useModalOverlay?
optionaluseModalOverlay:boolean
Whether or not steps should be placed above a darkened modal overlay. If true, the overlay will create an opening around the target element so that it can remain interactive
Defined in
docs-src/node_modules/shepherd.js/src/tour.ts:87