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