Skip to content

Commit

Permalink
Fix example code
Browse files Browse the repository at this point in the history
  • Loading branch information
Simolation committed Apr 24, 2022
1 parent 5ac86d1 commit 2dc649b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const onClick = () => {
</script>

<template>
<h1>Press Ctrl+S or Shift+Ctrl+S</h1>
<h1>Press Ctrl+S or Ctrl+Shift+S</h1>

<Hotkey :keys="['secondary', 'shift', 's']" @hotkey="action"></Hotkey>
<Hotkey :keys="['primary', 'shift', 's']" @hotkey="action"></Hotkey>

<Hotkey :keys="['primary', 's']" v-slot="{ clickRef }">
<button :ref="clickRef" @click="onClick">Add 4</button>
Expand Down

0 comments on commit 2dc649b

Please sign in to comment.