isaacplmann / ngx-tour

Product Tour Built in Angular

Home Page:https://isaacplmann.github.io/ngx-tour

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Go to next step if highlighted element is clicked

dominic-schmid opened this issue · comments

First off, sorry for opening an issue but I had to because there is no feature request tab on GitHub.

Request

So, a feature I would very much like to see implemented in the library is the ability to specify an element that the user must click to be able to get to the next step of the tour. This can be very useful for when you want to show them that they click this button to open a dialog (where the tour continues).

A good thing from this would also be that the backdrop clicking 'issue' would be fixed properly too. Right now, clicking anywhere on the screen (except the popover) either closes the tour or, if set in the css, lets you click anywhere and keeps it open. The right thing would be that you can click inside the highlighted area of the backdrop without the tour closing, while clicks on the outside do close it.

I'm trying to implement this myself but am having a very difficult time understanding the project and its structure (I only started with Angular a few days ago).