intro.js
intro.js copied to clipboard
Extended Sample
Hi,
I am working on a sample to extend your nice library with some features that I need. Perhaps you are interested to add some of the features or the sample: https://github.com/SebastianStehle/solidtest
Features:
- Monitor an element, so that when we highlight a dialog and the dialog is closed, we also exit the tour.
- Wait for elements, e.g. when the next target element is rendered with a delay.
- Wait for text input, e.g. to ask the user to enter some text first.
- Hide next and prev button per step.
- Show hints per step (WIP, see #1969 )
The idea is to also have some pseudo selectors to define the conditions, e.g. at the moment this is supported:
-
.form-control:has-text -
.form-control:has-text(500)(Wait 500ms until nothing is entered) -
.modal-dialog:visible(Perhaps the waitForElement is obsolete).
It is based on timers, as I am not really sure about the mutation observer yet.
This is amazing @SebastianStehle! Thanks for working on this.