intro.js icon indicating copy to clipboard operation
intro.js copied to clipboard

Feature request: query element by selector on step if it's not exists during configuration

Open gooddaytoday opened this issue 2 years ago • 0 comments

Would it be handy to get element by document.querySelector just before or at the begining of his step if it doesn't exists during configuration?

I have such situation and want to implement this feature, cause introJs.refresh(true):

  • Could be non-optimal to fetch all elements of steps several times
  • It's not handy to call introJs.refresh(true) on each pre-step
  • introJs.refresh(true) don't position properly (I haven't figured out why yet)

gooddaytoday avatar May 23 '22 17:05 gooddaytoday