We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
const VActiveStyle = { created(el, binding){ const [style, condition] = binding.value watchEffect(() => { const isActive = condition() Object.keys(style).forEach(key => { el.style[key] = isActive ? style[key] : '' }) }) } }