TourView.model
property · packages/mixins-ui/src/tour.ts:244
readonly model: ModelMixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/tour.ts:243
interface TourView<ParentMessage> {
readonly model: Model
readonly config?: Config | undefined
readonly onMessage: (message: Message) => NoInfer<ParentMessage>
readonly content?: ((step: Step, index: number) => Html) | undefined
readonly advanceOnClick?: AdvanceOnClick | undefined
readonly padding?: number | undefined
readonly interactive?: boolean | undefined
readonly dismissOnOutside?: boolean | undefined
readonly closeOnEscape?: boolean | undefined
readonly words?: Partial<TourWords> | undefined
readonly direction?: 'ltr' | 'rtl' | undefined
readonly routes?: ReadonlyArray<Route<NoInfer<ParentMessage>>> | undefined
readonly style?: NamedStyle<typeof TourSlots> | undefined
readonly mixins?: MixinList<ParentMessage> | undefined
}TourView.modelproperty · packages/mixins-ui/src/tour.ts:244
readonly model: ModelTourView.configproperty · packages/mixins-ui/src/tour.ts:246
readonly config?: Config | undefinedSteps in place of the Model's, for this drawing; the same as update's.
TourView.onMessageproperty · packages/mixins-ui/src/tour.ts:247
readonly onMessage: (message: Message) => NoInfer<ParentMessage>TourView.contentproperty · packages/mixins-ui/src/tour.ts:254
readonly content?: ((step: Step, index: number) => Html) | undefinedWhat a step says, drawn in place of its description text: rich content
such as a list, an image or a shortcut. It still describes the step's
dialog. The steps stay data in the Model, so content that is Html comes
from here.
TourView.advanceOnClickproperty · packages/mixins-ui/src/tour.ts:256
readonly advanceOnClick?: AdvanceOnClick | undefinedTour.advanceOnClick: a press on the step's target moves the tour on.
TourView.paddingproperty · packages/mixins-ui/src/tour.ts:258
readonly padding?: number | undefinedPixels the cutout reaches past its target; default 8.
TourView.interactiveproperty · packages/mixins-ui/src/tour.ts:260
readonly interactive?: boolean | undefinedWhether the target can be used through the cutout; default true.
TourView.dismissOnOutsideproperty · packages/mixins-ui/src/tour.ts:262
readonly dismissOnOutside?: boolean | undefinedWhether a press on the dim skips the tour; default false, so a stray press keeps it.
TourView.closeOnEscapeproperty · packages/mixins-ui/src/tour.ts:264
readonly closeOnEscape?: boolean | undefinedWhether Escape skips the tour; default true.
TourView.wordsproperty · packages/mixins-ui/src/tour.ts:266
readonly words?: Partial<TourWords> | undefinedThe buttons' words and the step's place; defaults Tour.words.
TourView.directionproperty · packages/mixins-ui/src/tour.ts:268
readonly direction?: 'ltr' | 'rtl' | undefinedDefault 'ltr'; under 'rtl' ArrowLeft goes on to the next step.
TourView.routesproperty · packages/mixins-ui/src/tour.ts:276
readonly routes?: ReadonlyArray<Route<NoInfer<ParentMessage>>> | undefinedKeys the application answers on a step, such as a digit jumping to that
step. They share one keydown owner with the step's own: the arrows
(ArrowLeft goes to the previous step, swapped right to left) and, unless
closeOnEscape is false, Escape; a route on the same gesture is a
diagnostic naming both.
TourView.styleproperty · packages/mixins-ui/src/tour.ts:278
readonly style?: NamedStyle<typeof TourSlots> | undefinedA style of TourSlots, for the look.
TourView.mixinsproperty · packages/mixins-ui/src/tour.ts:280
readonly mixins?: MixinList<ParentMessage> | undefinedMixins beside the style: Tour.focusReturn.