Liking cljdoc? Tell your friends :D
ClojureScript only.

web.Worklet

The Worklet interface is a lightweight version of web.Web Workers gives developers access to low-level parts of the rendering pipeline.

The Worklet interface is a lightweight version of `web.Web Workers`
gives developers access to low-level parts of the rendering pipeline.
raw docstring

add-modulecljs

(add-module this & args)

Method.

The addModule() method of the web.Worklet interface loads the in the given JavaScript file and adds it to the current Worklet.

addPromise = worklet.addModule(moduleURL); addPromise = worklet.addModule(moduleURL, options);

See also: https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule

Method.

The addModule() method of the `web.Worklet` interface loads the
in the given JavaScript file and adds it to the current Worklet.

`addPromise = worklet.addModule(moduleURL);
addPromise = worklet.addModule(moduleURL, options);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close