vue3 focus on click code example Example: focus on input field vuejs event <input @focus="function" />