Is there a way to change a value in the model when an input gets/loses focus?
The use case here is a search input that shows results as you type, these should only show
You might also want to activate the search when the user mouses over the input - @mouseover=...
Another approach to this kind of functionality is that the filter input is always active, even when the mouse is in the result list. Typing any letters modifies the filter input without changing focus. Many implementations actually show the filter input box only after a letter or number is typed.
Look into @event.capture.