Liking cljdoc? Tell your friends :D

web.PaintWorklet

The PaintWorklet interface of the CSS Painting API programmatically an image where a CSS property expects a file. Access this interface css.CSS.paintWorklet.

The PaintWorklet interface of the CSS Painting API programmatically
an image where a CSS property expects a file. Access this interface
`css.CSS.paintWorklet`.
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

device-pixel-ratiocljs

(device-pixel-ratio this)

Property.

The PaintWorklet.devicePixelRatio read-only property of the web.PaintWorklet returns the current device's ratio of physical pixels to logical

var devicePixelRatio = paintWorklet.devicePixelRatio;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePizelRatio

Property.

The PaintWorklet.devicePixelRatio read-only property of the `web.PaintWorklet`
returns the current device's ratio of physical pixels to logical

`var devicePixelRatio = paintWorklet.devicePixelRatio;`

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

device​-pixel​-ratiocljs

(device​-pixel​-ratio this)

Property.

The PaintWorklet.devicePixelRatio read-only property of the web.PaintWorklet returns the current device's ratio of physical pixels to logical

var devicePixelRatio = paintWorklet.devicePixelRatio;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio

Property.

The PaintWorklet.devicePixelRatio read-only property of the `web.PaintWorklet`
returns the current device's ratio of physical pixels to logical

`var devicePixelRatio = paintWorklet.devicePixelRatio;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio`
sourceraw docstring

register-paintcljs

(register-paint this name class)

Method.

The PaintWorklet.registerPaint() method of the web.PaintWorklet registers a class programmatically generate an image where a property expects a file.

registerPaint(name, class);

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/registerPaint

Method.

The PaintWorklet.registerPaint() method of the `web.PaintWorklet`
registers a class programmatically generate an image where a
property expects a file.

`registerPaint(name, class);`

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

set-device-pixel-ratio!cljs

(set-device-pixel-ratio! this val)

Property.

The PaintWorklet.devicePixelRatio read-only property of the web.PaintWorklet returns the current device's ratio of physical pixels to logical

var devicePixelRatio = paintWorklet.devicePixelRatio;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/devicePizelRatio

Property.

The PaintWorklet.devicePixelRatio read-only property of the `web.PaintWorklet`
returns the current device's ratio of physical pixels to logical

`var devicePixelRatio = paintWorklet.devicePixelRatio;`

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

set-device​-pixel​-ratio!cljs

(set-device​-pixel​-ratio! this val)

Property.

The PaintWorklet.devicePixelRatio read-only property of the web.PaintWorklet returns the current device's ratio of physical pixels to logical

var devicePixelRatio = paintWorklet.devicePixelRatio;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio

Property.

The PaintWorklet.devicePixelRatio read-only property of the `web.PaintWorklet`
returns the current device's ratio of physical pixels to logical

`var devicePixelRatio = paintWorklet.devicePixelRatio;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PaintWorklet/Paint%E2%80%8BWorklet%E2%80%8B.device%E2%80%8BPixel%E2%80%8BRatio`
sourceraw docstring

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

× close