@georgedoescode/background-size-paint-worklet
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "@georgedoescode/background-size-paint-worklet", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "worklet.js", |
@@ -1,8 +0,10 @@ | ||
const inputProperties = [ | ||
'--paint-worklet-width', | ||
'--paint-worklet-height', | ||
'--paint-worklet-scale-mode', | ||
]; | ||
class BGSizePaintWorklet { | ||
static get inputProperties() { | ||
return [ | ||
'--paint-worklet-width', | ||
'--paint-worklet-height', | ||
'--paint-worklet-scale-mode', | ||
]; | ||
} | ||
class BaseWorklet { | ||
scaleContext( | ||
@@ -31,2 +33,2 @@ ctx, | ||
export { BaseWorklet, inputProperties }; | ||
export { BGSizePaintWorklet }; |
3015
32