TourOptions Type documentation¶
TypeScript declaration¶
Options for tour Default options applied to all tour steps.import type { TourOptions } from '@siemens/element-ng/tour';
Types Documentation¶
Common options for tour step and as default for tour step A function that returns a promise. When the promise resolves, the next step will be shown. This can be used to 'clean up' action from beforeNextPromise ? : A function that returns a promise. When the promise resolves, the step will be shown. E.g. use this to open dialogs, etc. beforeShowPromise ? : Whether Scroll the element into view. Custom handler to perform scrolling. scrollToHandler ? : import type { TourStepCommonOptions } from '@siemens/element-ng/tour';
beforeShowPromise.(() => Promise<any>) ¶ (() => Promise<any>) ¶ ((element: HTMLElement) => void) ¶
Except where otherwise noted, content on this site is licensed under MIT License.