Add onfocus/onblur to textarea.
This commit is contained in:
parent
ff782cbd11
commit
4d484f6040
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue