(keyup)= onkeyup($event) code example Example: javascript on keypu <input type="text" onkeyup="myFunction()">