mirror of
https://github.com/m1k1o/neko.git
synced 2025-07-23 19:49:02 +02:00
clipboard onfocus select all
This commit is contained in:
parent
477256bb94
commit
b7a7a9accb
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…
Add table
Add a link
Reference in a new issue