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

New option: onBegin(). A custom event before it begins typing #429

Merged
merged 4 commits into from
Sep 23, 2019

Conversation

mattboldt
Copy link
Owner

This is a continuation of the efforts made by https://github.com/seifsg

Requirements

  • Have you viewed your changes locally on the demos page, located on https://github.com/mattboldt/typed.js/blob/master/index.html?

  • If necessary, have you added a new demo to the index.html list of demos? If it's an improvement or small addition, have you added it to an existing demo on the demos page?

  • If applicable, have you created a fork of the following JSFiddle with your branch's code and your new feature showcased?

Here is the fiddle: https://jsfiddle.net/seifsg/gknstoff/

Description of the Change

I was working on my app and I needed to fire an event just right before it begins typing. I didn't find how so I added it the code. Works fine on my app now.

Also, I have added it to the documentation and the demo.

I hope it helps!

Benefits

New option: onBegin()
A custom function just before it begins typing

Issues

No issues yet.

@mattboldt mattboldt merged commit 9010b2c into master Sep 23, 2019
@mattboldt mattboldt deleted the seifsg-master branch September 23, 2019 15:21
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