Skip to content

Instantly share code, notes, and snippets.

@nguyenit67
Last active May 7, 2022 06:51
Show Gist options
  • Save nguyenit67/d21260cc68f4e0ba94cc51f5b6df66d3 to your computer and use it in GitHub Desktop.
Save nguyenit67/d21260cc68f4e0ba94cc51f5b6df66d3 to your computer and use it in GitHub Desktop.
DOM#KeyboardEvent
const handleKeyUp = (event) => {
console.log(event.key)
}
<input type="text" className="zm-input-text__input" placeholder="Nhập tên bài hát, nghệ sĩ hoặc MV..." onKeyUp={} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment