onData method

XDisposable onData(
  1. JSFunction<Function> handler
)

Registers a keystroke handler; the callback receives a JS string.

Implementation

external XDisposable onData(JSFunction handler);