js library

Cross-platform "dart:js" library.

Classes

JsArray<E>
A List that proxies a JavaScript array.
JsFunction
A proxy on a JavaScript Function object.
JsObject
A proxy on a JavaScript object.

Properties

context JsObject
The JavaScript global object, usually window.
no setter

Functions

allowInterop<F extends Function>(F f) → F
Returns a wrapper around function f that can be called from JavaScript using package:js JavaScript interop.
allowInteropCaptureThis(Function f) Function
Returns a wrapper around function f that can be called from JavaScript using package:js JavaScript interop, passing JavaScript this as the first argument.