Open lukeHT opened 3 years ago
lax.js version 2.0.3
Describe the bug I'd like to use % for 'border-radius' value, but each time I try to do something with that it crashes. I tried to use both cssUnit and cssFn, but with no luck. There's no error, no anything, just the code is not applied.
cssUnit
cssFn
Code
"border-radius": [ [0, "screenHeight"], [50, 0], { easing: 'easeInOutQuint', cssUnit: '%', } ]
"border-radius": [ [0, "screenHeight"], [50, 0], { easing: 'easeInOutQuint', cssFn: (val) => { return `${val}%`; } } ]
lax.js version 2.0.3
Describe the bug I'd like to use % for 'border-radius' value, but each time I try to do something with that it crashes. I tried to use both
cssUnit
andcssFn
, but with no luck. There's no error, no anything, just the code is not applied.Code