Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Sample #1971

Open
SebastianStehle opened this issue Jul 27, 2023 · 1 comment
Open

Extended Sample #1971

SebastianStehle opened this issue Jul 27, 2023 · 1 comment

Comments

@SebastianStehle
Copy link

SebastianStehle commented Jul 27, 2023

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:

  1. Monitor an element, so that when we highlight a dialog and the dialog is closed, we also exit the tour.
  2. Wait for elements, e.g. when the next target element is rendered with a delay.
  3. Wait for text input, e.g. to ask the user to enter some text first.
  4. Hide next and prev button per step.
  5. Show hints per step (WIP, see Show hints based on step #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.

@binrysearch
Copy link
Contributor

This is amazing @SebastianStehle! Thanks for working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants