kamranahmedse / driver.js

A light-weight, no-dependency, vanilla JavaScript engine to drive user's focus across the page
https://driverjs.com
MIT License
22.66k stars 1.01k forks source link

Possible to enable/disable footer buttons after rendering? #507

Open troniousVMgr opened 2 months ago

troniousVMgr commented 2 months ago

I created a typewriter effect for the popover description text (message). The goal here being to engage the user with a "shiny thing" (moving typewriter text).

What I would like to be able to do is keep the next / prev buttons disabled UNTIL the typewriter has finished writing it out.

I was wondering if there's a way to reference those buttons via the framework without digging through the DOM?

Thanks again for a great library. Rare to come across things that just "work" and this does