onDeviceConnected top-level property

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

Implementation

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