Last active
November 5, 2021 10:54
-
-
Save snigo/5ff86159eeda2b6231ff6beb642d24e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const button = document.getElementById('btn'); | |
function handleClick(clickEvent) { | |
/** React on click event */ | |
} | |
button.addEventListener('click', handleClick); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment