thelounge/client/components/Windows/Help.vue

860 lines
22 KiB
Vue
Raw Normal View History

2019-02-18 09:18:32 +00:00
<template>
2019-08-03 19:03:45 +00:00
<div id="help" class="window" role="tabpanel" aria-label="Help">
2019-02-18 09:18:32 +00:00
<div class="header">
<SidebarToggle />
2019-02-18 09:18:32 +00:00
</div>
<div class="container">
<h1 class="title">Help</h1>
<h2 class="help-version-title">
<span>About The Lounge</span>
<small>
v{{ store.state.serverConfiguration?.version }} (<router-link
2019-02-18 09:18:32 +00:00
id="view-changelog"
to="/changelog"
2019-10-17 16:56:44 +00:00
>release notes</router-link
2019-08-03 19:03:45 +00:00
>)
2019-02-18 09:18:32 +00:00
</small>
</h2>
<div class="about">
2019-08-05 14:29:35 +00:00
<VersionChecker />
2019-02-18 09:18:32 +00:00
<template v-if="store.state.serverConfiguration?.gitCommit">
2019-02-20 15:01:33 +00:00
<p>
2019-08-03 19:03:45 +00:00
The Lounge is running from source (<a
:href="`https://github.com/thelounge/thelounge/tree/${store.state.serverConfiguration?.gitCommit}`"
2019-02-18 09:18:32 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>commit <code>{{ store.state.serverConfiguration?.gitCommit }}</code></a
2019-08-03 19:03:45 +00:00
>).
2019-02-20 15:01:33 +00:00
</p>
<ul>
<li>
Compare
<a
:href="`https://github.com/thelounge/thelounge/compare/${store.state.serverConfiguration?.gitCommit}...master`"
2019-02-20 15:01:33 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>between
<code>{{ store.state.serverConfiguration?.gitCommit }}</code> and
2019-08-03 19:03:45 +00:00
<code>master</code></a
>
2019-02-20 15:01:33 +00:00
to see what you are missing
</li>
<li>
Compare
<a
:href="`https://github.com/thelounge/thelounge/compare/${store.state.serverConfiguration?.version}...${store.state.serverConfiguration?.gitCommit}`"
2019-02-20 15:01:33 +00:00
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
>between
<code>{{ store.state.serverConfiguration?.version }}</code> and
<code>{{ store.state.serverConfiguration?.gitCommit }}</code></a
2019-08-03 19:03:45 +00:00
>
to see your local changes
</li>
2019-02-20 15:01:33 +00:00
</ul>
</template>
2019-02-18 09:18:32 +00:00
<p>
<a
href="https://thelounge.chat/"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="website-link"
2019-08-03 19:03:45 +00:00
>Website</a
>
2019-02-18 09:18:32 +00:00
</p>
<p>
<a
href="https://thelounge.chat/docs/"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="documentation-link"
2019-08-03 19:03:45 +00:00
>Documentation</a
>
2019-02-18 09:18:32 +00:00
</p>
<p>
<a
href="https://github.com/thelounge/thelounge/issues/new"
target="_blank"
rel="noopener"
2019-03-01 14:18:16 +00:00
class="report-issue-link"
2019-08-03 19:03:45 +00:00
>Report an issue</a
>
2019-02-18 09:18:32 +00:00
</p>
</div>
<h2 v-if="isTouch">Gestures</h2>
<div v-if="isTouch" class="help-item">
<div class="subject gesture">Single-Finger Swipe Left</div>
<div class="description">
<p>Hide sidebar.</p>
</div>
</div>
<div v-if="isTouch" class="help-item">
<div class="subject gesture">Single-Finger Swipe Right</div>
<div class="description">
<p>Show sidebar.</p>
</div>
</div>
<div v-if="isTouch" class="help-item">
<div class="subject gesture">Two-Finger Swipe Left</div>
<div class="description">
<p>Switch to the next window in the channel list.</p>
</div>
</div>
<div v-if="isTouch" class="help-item">
<div class="subject gesture">Two-Finger Swipe Right</div>
<div class="description">
<p>Switch to the previous window in the channel list.</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<h2>Keyboard Shortcuts</h2>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the next lobby in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the previous lobby in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
</div>
<div class="description">
<p>Collapse current network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>Shift</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd> <kbd></kbd></span>
</div>
<div class="description">
<p>Expand current network.</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the next window in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd></kbd></span>
<span v-else><kbd></kbd> <kbd></kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the previous window in the channel list.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>A</kbd></span>
<span v-else><kbd></kbd> <kbd>A</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Switch to the first window with unread messages.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>S</kbd></span>
<span v-else><kbd></kbd> <kbd>S</kbd></span>
</div>
<div class="description">
<p>Toggle sidebar.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>U</kbd></span>
<span v-else><kbd></kbd> <kbd>U</kbd></span>
</div>
<div class="description">
<p>Toggle channel user list.</p>
</div>
</div>
2020-02-10 15:09:09 +00:00
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>J</kbd></span>
<span v-else><kbd></kbd> <kbd>J</kbd></span>
</div>
<div class="description">
<p>Toggle jump to channel switcher.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>M</kbd></span>
<span v-else><kbd></kbd> <kbd>M</kbd></span>
</div>
<div class="description">
<p>Toggle recent mentions popup.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Alt</kbd> <kbd>/</kbd></span>
<span v-else><kbd></kbd> <kbd>/</kbd></span>
</div>
<div class="description">
<p>Switch to the help menu.</p>
</div>
</div>
2020-03-17 10:06:50 +00:00
<div class="help-item">
<div class="subject">
<span><kbd>Esc</kbd></span>
</div>
<div class="description">
<p>
Close current contextual window (context menu, image viewer, topic edit,
etc) and remove focus from input.
</p>
</div>
</div>
<h2>Formatting Shortcuts</h2>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>K</kbd></span>
<span v-else><kbd></kbd> <kbd>K</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Mark any text typed after this shortcut to be colored. After hitting this
shortcut, enter an integer in the range
<code>015</code> to select the desired color, or use the autocompletion
menu to choose a color name (see below).
2019-02-18 09:18:32 +00:00
</p>
<p>
2019-08-03 19:03:45 +00:00
Background color can be specified by putting a comma and another integer in
the range <code>015</code> after the foreground color number
(autocompletion works too).
2019-02-18 09:18:32 +00:00
</p>
<p>
A color reference can be found
<a
href="https://modern.ircdocs.horse/formatting.html#colors"
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
2019-08-03 19:03:45 +00:00
>here</a
>.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>B</kbd></span>
<span v-else><kbd></kbd> <kbd>B</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-bold">bold</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>U</kbd></span>
<span v-else><kbd></kbd> <kbd>U</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-underline">underlined</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>I</kbd></span>
<span v-else><kbd></kbd> <kbd>I</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-italic">italics</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>S</kbd></span>
<span v-else><kbd></kbd> <kbd>S</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-strikethrough">struck through</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>M</kbd></span>
<span v-else><kbd></kbd> <kbd>M</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Mark all text typed after this shortcut as
<span class="irc-monospace">monospaced</span>.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<span v-if="!isApple"><kbd>Ctrl</kbd> <kbd>O</kbd></span>
<span v-else><kbd></kbd> <kbd>O</kbd></span>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Mark all text typed after this shortcut to be reset to its original
formatting.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<h2>Autocompletion</h2>
<p>
2019-08-03 19:03:45 +00:00
To auto-complete nicknames, channels, commands, and emoji, type one of the
characters below to open a suggestion list. Use the <kbd></kbd> and
<kbd></kbd> keys to highlight an item, and insert it by pressing <kbd>Tab</kbd> or
<kbd>Enter</kbd> (or by clicking the desired item).
2019-02-18 09:18:32 +00:00
</p>
2020-08-25 09:49:53 +00:00
<p>Autocompletion can be disabled in settings.</p>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<code>@</code>
</div>
<div class="description">
<p>Nickname</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>#</code>
</div>
<div class="description">
<p>Channel</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/</code>
</div>
<div class="description">
<p>Commands (see list of commands below)</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>:</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Emoji (note: requires two search characters, to avoid conflicting with
common emoticons like <code>:)</code>)
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<h2>Commands</h2>
<div class="help-item">
<div class="subject">
<code>/away [message]</code>
</div>
<div class="description">
<p>Mark yourself as away with an optional message.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/back</code>
</div>
<div class="description">
<p>Remove your away status (set with <code>/away</code>).</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ban nick</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Ban (<code>+b</code>) a user from the current channel. This can be a
nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/banlist</code>
</div>
<div class="description">
<p>Load the banlist for the current channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/collapse</code>
</div>
<div class="description">
<p>
Collapse all previews in the current channel (opposite of
<code>/expand</code>)
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/connect host [port]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Connect to a new IRC network. If <code>port</code> starts with a
<code>+</code> sign, the connection will be made secure using TLS.
2019-02-18 09:18:32 +00:00
</p>
<p>Alias: <code>/server</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ctcp target cmd [args]</code>
</div>
<div class="description">
<p>
Send a <abbr title="Client-to-client protocol">CTCP</abbr>
request. Read more about this on
<a
href="https://en.wikipedia.org/wiki/Client-to-client_protocol"
target="_blank"
2019-03-01 14:18:16 +00:00
rel="noopener"
2019-08-03 19:03:45 +00:00
>the dedicated Wikipedia article</a
>.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/deop nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Remove op (<code>-o</code>) from one or several users in the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/devoice nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Remove voice (<code>-v</code>) from one or several users in the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/disconnect [message]</code>
</div>
<div class="description">
2020-08-25 09:49:53 +00:00
<p>Disconnect from the current network with an optionally-provided message.</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/expand</code>
</div>
<div class="description">
<p>
Expand all previews in the current channel (opposite of
<code>/collapse</code>)
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/invite nick [channel]</code>
</div>
<div class="description">
<p>
Invite a user to the specified channel. If
2019-08-03 19:03:45 +00:00
<code>channel</code> is omitted, user will be invited to the current
channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ignore nick</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Block any messages from the specified user on the current network. This can
be a nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/ignorelist</code>
</div>
<div class="description">
<p>Load the list of ignored users for the current network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
2022-12-29 11:11:29 +00:00
<code>/join channel [password]</code>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
2022-12-29 11:11:29 +00:00
<p>
Join a channel. Password is only needed in protected channels and can
usually be omitted.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/kick nick [reason]</code>
2019-02-18 09:18:32 +00:00
</div>
<div class="description">
<p>Kick a user from the current channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/kickban nick [reason]</code>
</div>
<div class="description">
<p>
Kick and ban (<code>+b</code>) a user from the current channel. Unlike
<code>/ban</code>, only nicknames (and not host masks) can be used.
</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<code>/list</code>
</div>
<div class="description">
<p>Retrieve a list of available channels on this network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/me message</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Send an action message to the current channel. The Lounge will display it
inline, as if the message was posted in the third person.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/mode flags [args]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Set the given flags to the current channel if the active window is a
channel, another user if the active window is a private message window, or
yourself if the current window is a server window.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/msg channel message</code>
</div>
<div class="description">
<p>Send a message to the specified channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/mute [...channel]</code>
</div>
<div class="description">
<p>
Prevent messages from generating any feedback for a channel. This turns off
the highlight indicator, hides mentions and inhibits push notifications.
Muting a network lobby mutes the entire network. Not specifying any channel
target mutes the current channel. Revert with <code>/unmute</code>.
</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<code>/nick newnick</code>
</div>
<div class="description">
<p>Change your nickname on the current network.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/notice channel message</code>
</div>
<div class="description">
<p>Sends a notice message to the specified channel.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/op nick [...nick]</code>
</div>
<div class="description">
2020-08-25 09:49:53 +00:00
<p>Give op (<code>+o</code>) to one or several users in the current channel.</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/part [channel]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Close the specified channel or private message window, or the current
channel if <code>channel</code> is omitted.
2019-02-18 09:18:32 +00:00
</p>
<p>Aliases: <code>/close</code>, <code>/leave</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/rejoin</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Leave and immediately rejoin the current channel. Useful to quickly get op
from ChanServ in an empty channel, for example.
2019-02-18 09:18:32 +00:00
</p>
<p>Alias: <code>/cycle</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/query nick</code>
</div>
<div class="description">
<p>Send a private message to the specified user.</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/quit [message]</code>
</div>
<div class="description">
2020-08-25 09:49:53 +00:00
<p>Disconnect from the current network with an optional message.</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/raw message</code>
</div>
<div class="description">
<p>Send a raw message to the current IRC network.</p>
<p>Aliases: <code>/quote</code>, <code>/send</code></p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/slap nick</code>
</div>
<div class="description">
<p>Slap someone in the current channel with a trout!</p>
</div>
</div>
<div v-if="store.state.settings.searchEnabled" class="help-item">
<div class="subject">
<code>/search query</code>
</div>
<div class="description">
<p>Search for messages in the current channel / user</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<code>/topic [newtopic]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Get the topic in the current channel. If <code>newtopic</code> is specified,
sets the topic in the current channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/unban nick</code>
</div>
<div class="description">
2019-08-03 19:03:45 +00:00
<p>
Unban (<code>-b</code>) a user from the current channel. This can be a
nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/unignore nick</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Unblock messages from the specified user on the current network. This can be
a nickname or a hostmask.
</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/unmute [...channel]</code>
</div>
<div class="description">
<p>
Un-mutes the given channel(s) or the current channel if no channel is
provided. See <code>/mute</code> for more information.
</p>
</div>
</div>
2019-02-18 09:18:32 +00:00
<div class="help-item">
<div class="subject">
<code>/voice nick [...nick]</code>
</div>
<div class="description">
<p>
2019-08-03 19:03:45 +00:00
Give voice (<code>+v</code>) to one or several users in the current channel.
2019-02-18 09:18:32 +00:00
</p>
</div>
</div>
<div class="help-item">
<div class="subject">
<code>/whois nick</code>
</div>
<div class="description">
2020-08-25 09:49:53 +00:00
<p>Retrieve information about the given user on the current network.</p>
2019-02-18 09:18:32 +00:00
</div>
</div>
</div>
</div>
</template>
<script lang="ts">
import {defineComponent, ref} from "vue";
import {useStore} from "../../js/store";
import SidebarToggle from "../SidebarToggle.vue";
2019-08-05 14:29:35 +00:00
import VersionChecker from "../VersionChecker.vue";
export default defineComponent({
2019-02-18 09:18:32 +00:00
name: "Help",
components: {
SidebarToggle,
2019-08-05 14:29:35 +00:00
VersionChecker,
},
setup() {
const store = useStore();
const isApple = navigator.platform.match(/(Mac|iPhone|iPod|iPad)/i) || false;
const isTouch = navigator.maxTouchPoints > 0;
return {
isApple,
isTouch,
store,
};
},
});
2019-02-18 09:18:32 +00:00
</script>