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

Input event is fired when value is changed #23

Open
yanyu0517 opened this issue Apr 28, 2017 · 0 comments
Open

Input event is fired when value is changed #23

yanyu0517 opened this issue Apr 28, 2017 · 0 comments

Comments

@yanyu0517
Copy link

yanyu0517 commented Apr 28, 2017

MDN input event say:

The DOM input event is fired synchronously when the value of an <input>, <select>, or <textarea> element is changed.

But in Chapter 5 P158, There is

"You may argue that you could implement the preceding example by handling the input event, which would be dispatched when the user finished entering the stock symbol and moved the focus out of the input field. This is true, but there are many scenarios where you’ll want an immediate response from the server, such as retrieving and filtering a data collection as the user types."

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

No branches or pull requests

1 participant