Skip to content

Tour 漫游式引导

Used to guide users through the features of an application step by step.

Basic Usage

loading

API

PropDescriptionTypeDefault
modelValueWhether to show the tourbooleanfalse
stepsSteps of the tourTourStep[][]
currentCurrent step indexnumber0

TourStep

PropertyDescriptionType
targetTarget element selector or functionstring | (() => HTMLElement)
titleTitle of the stepstring
descriptionDescription of the stepstring
placementPlacement of the popover'top' | 'bottom' | 'left' | 'right'

Events

EventDescription
update:modelValueEmitted when visibility changes
update:currentEmitted when current step changes
closeEmitted when tour is closed
finishEmitted when tour is finished

MIT License