For now it only watch fro valueComputed. We might need some useBlur hook which handle removing blurred class if it applied onUnmounted,
watchEffect(() => {
if (props.blur) {
if (valueComputed.value) {
document.value?.body.classList.add('va-modal-overlay-background--blurred')
} else {
document.value?.body.classList.remove('va-modal-overlay-background--blurred')
}
}
})
For now it only watch fro valueComputed. We might need some useBlur hook which handle removing blurred class if it applied onUnmounted,