0👍
I eventually got it working with this
const { style: computedStyle, class: computedClass } = useNormalizedStyles({
style: styleProp,
preClass: "button",
class: classProp,
postClass: reactive({
"button--pressed": pressed,
"button--enterheld": enterHeld,
"button--long-pressed": longPressed,
}),
});
Some thing to note… the reactive
values should only contain the refs and not .value
Source:stackexchange.com