off method

  1. @JS("off")
Future off(
  1. String eventName,
  2. Function func
)

Add a listener to be triggered for only the next eventName event, at which time it will be removed.

Implementation

@JS("off")
external Future off(String eventName, Function func);