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