keyPress (event) private
Allows you to specify a controller action to invoke when a key is pressed. To use this method, give your field a key-press
attribute. The value of that attribute should be the name of the action in your controller you that wish to invoke.
For an example on how to use the key-press
attribute, please reference the example near the top of this file.
Parameters:
-
event
Event
Please login to continue.