Specify custom behavior on keyup event.