keyPress vs Up
✓ Published0🌍 Public
FFrozenfire92
Last edited Feb 19, 2016
Created on Feb 19, 2016
This example demonstrates the sequence and difference between the `keyPress` and `keyUp` browser events as they fire while typing in a text input field. It uses an Ember component with a template containing an `{{input}}` helper, and the component's JavaScript defines handlers for both events that log the corresponding `keyCode` to the browser console. The data originates from user keystrokes captured by jQuery within the Ember application.
AI-generated description