clipboard onfocus select all
This commit is contained in:
parent
fb1647ac10
commit
d770133e70
1 changed files with 5 additions and 1 deletions
|
|
@ -4,7 +4,11 @@
|
||||||
v-if="opened"
|
v-if="opened"
|
||||||
@click="$event.stopPropagation()"
|
@click="$event.stopPropagation()"
|
||||||
>
|
>
|
||||||
<textarea ref="textarea" v-model="clipboard" />
|
<textarea
|
||||||
|
ref="textarea"
|
||||||
|
v-model="clipboard"
|
||||||
|
@focus="$event.target.select()"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue