intro.js
intro.js copied to clipboard
feat: add scrollElRef to support custom scroll element view
I propose this PR in order to add options scrollElRef
which support a custom scroll element view.
This one can be defined in global options set or in step options.
Where defined, the scroll action is defined on the element instead to be determinated by getParentScroll().
It useful typically in Ionic application where shadow container is defined and getParentScroll() not detect the scroll element. I tried to build a sample but not fully operational in Ionic-like context.
@clemdesign Sounds good. Could you rebase your branch please?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
intro-js | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Mar 23, 2023 at 0:21AM (UTC) |
@afshinm done