Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow access to typers programmatically #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

josephgeis
Copy link

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
Copy link
Author

Just wondering if you've seen this.

@straversi
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants