Typer.js
Typer.js copied to clipboard
Allow access to typers programmatically
By exporting typers
in the TyperSetup()
method to the window
object, created typers can be access elsewhere in JavaScript. I think this would be a beneficial and minor edit that will allow typers to be activated based on scroll position and other developer-created optimizations.
Just wondering if you've seen this.
Now I've seen it! I'm revisiting this repo after quite a while.
I've actually been experimenting lately with combining Typer, Cursor, and TyperSetup into a single Typer
global object. So I'm in support of revealing the Typers globally, but through an object that can consolidate the other stuff.