onError top-level property

  1. @JS('onError')
set onError (JSFunction f)

Implementation

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