onKeyEvent property

FocusOnKeyEventCallback? onKeyEvent
final

Key events while the field has focus, before the text field handles them (Cloudscape onKeyDown). Return KeyEventResult.handled to stop the key.

Implementation

final FocusOnKeyEventCallback? onKeyEvent;