onError top-level property

  1. @JS('onError')
set onError (JSFunction<Function> f)

Implementation

@JS('onError') // Bind to the JavaScript global variable or function
external set onError(JSFunction f);