You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to include in my steps a step which doesn't render any popover, but only calls a function I've defined in the step (similar to onHighlightStarted or onDeselected). Is this possible in Driver 1.x? I would like to use this for setting up or tearing down application state.
I've read some tips about doing such work in my onHighlightStarted or onDeselected functions, but doing this will cause unwanted coupling between my steps. My steps list is dynamic (defined by admins) and could look like this:
...
- highlight a button
- open panel & highlight it
- highlight panel-part-1
- highlight panel-part-2 [optional]
- highlight panel-part-3 [optional]
- close panel
- highlight another button
...
So it's for the close panel step that I want this purely programmatic step, because I cannot safely close it in the outgoing function of the panel-part-1|2|3 steps.
I only need a synchronous function today, but it would make sense for it to support async work for flexibility.
I would also be willing to help contribute a feature like this, if it doesn't exist yet.
The text was updated successfully, but these errors were encountered:
I would like to be able to include in my steps a step which doesn't render any popover, but only calls a function I've defined in the step (similar to
onHighlightStarted
oronDeselected
). Is this possible in Driver 1.x? I would like to use this for setting up or tearing down application state.I've read some tips about doing such work in my
onHighlightStarted
oronDeselected
functions, but doing this will cause unwanted coupling between my steps. Mysteps
list is dynamic (defined by admins) and could look like this:So it's for the
close panel
step that I want this purely programmatic step, because I cannot safely close it in the outgoing function of thepanel-part-1|2|3
steps.I only need a synchronous function today, but it would make sense for it to support async work for flexibility.
I would also be willing to help contribute a feature like this, if it doesn't exist yet.
The text was updated successfully, but these errors were encountered: