Add onfocus/onblur to textarea.

This commit is contained in:
Lukáš Kucharczyk 2020-08-25 14:09:39 +02:00
parent ff782cbd11
commit 4d484f6040
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
<template>
<textarea
@keyup.enter="addNote"
onfocus="this.value=''"
onblur="this.value = 'Start typing something…'"
v-model="content"
cols="30"
rows="10"