79403916

Date: 2025-01-31 20:20:59
Score: 1.5
Natty:
Report link

You simply need to set

searchBarOpen.value = true

(or false)

The value property in Vue refs is needed for reactivity internally.

In templates however, your reference to searchBarOpen is correct without value, because the value property will be unwrapped under the hood.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ckoala