Vue <template> <input :ref="el => elTextArea = el" /> </template> HTML <template> <input :ref="el => elTextArea = el" /> </template>