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

Allow access to typers programmatically

Open josephgeis opened this issue 6 years ago • 2 comments

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.

josephgeis avatar Oct 11 '18 00:10 josephgeis

Just wondering if you've seen this.

josephgeis avatar Nov 26 '18 23:11 josephgeis

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.

straversi avatar Apr 06 '19 02:04 straversi