The PaintWorklet interface of the CSS Painting API programmatically
an image where a CSS property expects a file. Access this interface
CSS.paintWorklet
.
The PaintWorklet interface of the CSS Painting API programmatically an image where a CSS property expects a file. Access this interface `CSS.paintWorklet`.
(add-module this & args)
Method.
[Experimental]
The addModule() method of the web.other.Worklet
interface loads
module in the given JavaScript file and adds it to the current
addPromise = worklet.addModule(moduleURL); addPromise = worklet.addModule(moduleURL, options);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule
Method. [Experimental] The addModule() method of the `web.other.Worklet` interface loads module in the given JavaScript file and adds it to the current `addPromise = worklet.addModule(moduleURL); addPromise = worklet.addModule(moduleURL, options);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Worklet/addModule`
(device-pixel-ratio this)
Property.
[Read Only] [Draft]
The PaintWorklet.devicePixelRatio read-only property of the web.css.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/devicePixelRatio
Property. [Read Only] [Draft] The PaintWorklet.devicePixelRatio read-only property of the `web.css.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/devicePixelRatio`
(paint this)
Property.
[Read Only] [Draft]
The PaintWorklet.devicePixelRatio read-only property of the web.css.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. [Read Only] [Draft] The PaintWorklet.devicePixelRatio read-only property of the `web.css.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`
(register-paint this name class)
Method.
[Draft]
The PaintWorklet.registerPaint() method of the web.css.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. [Draft] The PaintWorklet.registerPaint() method of the `web.css.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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close