keyPressEvent 属性

EventStreamProvider<KeyEvent> keyPressEvent
getter/setter 对

提供对目标上按键事件流访问的访问器。

实现

static EventStreamProvider<KeyEvent> keyPressEvent =
    new _KeyboardEventHandler('keypress');