ffi/wasm/core/js_utils/inject_js library
Functions
-
importLibrary(
String url) → Future< void> -
Injects the library by its
url
. Throws an UnsupportedError if the dart:html library is not present. -
injectScript(
String src) → Future< void> -
Injects the javascript code
src
into the page. Throws an UnsupportedError if the dart:html library is not present. -
isImported(
String url) → bool - Checks if a library is present in the page. Throws an UnsupportedError if the dart:html library is not present.