usablica / intro.js

Lightweight, user-friendly onboarding tour library
http://introjs.com
Other
22.79k stars 2.59k forks source link

Extended Sample #1971

Open SebastianStehle opened 1 year ago

SebastianStehle commented 1 year ago

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 #1969 )

The idea is to also have some pseudo selectors to define the conditions, e.g. at the moment this is supported:

It is based on timers, as I am not really sure about the mutation observer yet.

binrysearch commented 1 year ago

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