web/js/js_supported
library
Classes
-
JS
-
An annotation that indicates a library, class, or member is implemented
directly in JavaScript.
-
JsArray<E>
-
A List that proxies a JavaScript array.
-
JSExport
-
Annotation to allow Dart classes to be wrapped with a JS object using
dart:js_interop's createJSInteropWrapper.
-
JsFunction
-
A proxy on a JavaScript Function object.
-
JsObject
-
A proxy on a JavaScript object.
Constants
-
anonymous
→ const _Anonymous
-
An annotation that indicates a JS annotated class is structural and does
not have a known JavaScript prototype.
-
staticInterop
→ const _StaticInterop
-
staticInterop enables the JS annotated class to be treated as a "static"
interop class.
-
trustTypes
→ const _TrustTypes
-
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.