CustomStream<KeyEvent> onKeyDown(
EventTarget target
)

Named constructor to produce a stream for onKeyDown events.

Source

/** Named constructor to produce a stream for onKeyDown events. */
static CustomStream<KeyEvent> onKeyDown(EventTarget target) =>
    new _KeyboardEventHandler('keydown').forTarget(target);