onUserInteractionCanceled

The "userinteractioncanceled" event is triggered when the user presses the escape key, which resets the text to its previous value.

onUserInteractionCanceled 1:

Available from 1.8