vue js method on focus out of input code example Example: focus on input field vuejs event <input @focus="function" />