mirror of
https://github.com/kevin-DL/build-gmail-clone-with-vue-3.git
synced 2026-01-23 15:41:33 +00:00
keyboard shortcuts on the keys
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="email-display" v-if="email">
|
<div class="email-display" v-if="email">
|
||||||
<div class="toolbar">
|
<div class="toolbar">
|
||||||
<button @click="toggleArchive">{{email.archived ? 'Move to Inbox' : 'Archive'}}</button>
|
<button @click="toggleArchive">{{email.archived ? 'Move to Inbox (e)' : 'Archive (e)'}}</button>
|
||||||
<button @click="goNewer">Newer</button>
|
<button @click="goNewer">Newer (k)</button>
|
||||||
<button @click="goOlder">Older</button>
|
<button @click="goOlder">Older (j)</button>
|
||||||
<button @click="toggleRead()">Mark {{email.read ? 'Unread' : 'Read'}}</button>
|
<button @click="toggleRead()">Mark {{email.read ? 'Unread' : 'Read'}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user