allowInteropCaptureThis function

Function allowInteropCaptureThis(
  1. Function f
)

Returns a wrapper around function f that can be called from JavaScript using package:js JavaScript interop, passing JavaScript this as the first argument.

See allowInterop.

When called from Dart, null will be passed as the first argument.

Implementation

external Function allowInteropCaptureThis(Function f);