SiTourService documentation¶
provided in root
✓
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
addSteps(...) ¶ | (steps: TourStep []) => void | Add steps to the tour Parameters
| |
clearSteps() ¶ | () => void | Clear all steps | |
complete() ¶ | () => void | Finish the tour | |
(readonly) onTourCancel ¶ | Subject <void > | ... | Event triggered after the tour is cancelled, either through skip button or closing the tour dialog. |
(readonly) onTourComplete ¶ | Subject <void > | ... | Event triggered after the tour is completed. |
setOptions(...) ¶ | (options: TourOptions ) => void | Sets options for the whole tour. Parameters
| |
start() ¶ | () => void | Start the tour |
Types Documentation¶
Options for each tour step. | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Options for tour | ||
---|---|---|
|
Common options for tour step and as default for tour step | |||||
---|---|---|---|---|---|
|
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality. |
---|
Translatable import imported from @siemens/element-translate-ng |
---|
The position of the modal dialog with respect to the highlighted element. Deprecated: this has no effect, position is automatic |
---|
Except where otherwise noted, content on this site is licensed under MIT License.