onResize method

XDisposable onResize(
  1. JSFunction<Function> handler
)

Registers a resize handler; the callback receives {cols, rows}.

Implementation

external XDisposable onResize(JSFunction handler);