Skip to content

allowInteropCaptureThis

Function allowInteropCaptureThis(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.