Skip to content

Commit

Permalink
fix(component): emit keydown event as event argument to access specif…
Browse files Browse the repository at this point in the history
…ic key from consuming apps (#83)

Co-authored-by: Sarah Leventhal <sarah.leventhal@mastercard.com>
  • Loading branch information
Umi8Umi and Sarah Leventhal committed Aug 18, 2023
1 parent ab32ce8 commit 087cb7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
@change="onChange"
@blur="$emit('blur')"
@focus="$emit('focus')"
@keyup="$emit('keyup')"
@keydown="$emit('keydown')"
@keyup="$emit('keyup', $event)"
@keydown="$emit('keydown', $event)"
/>
</template>

Expand Down

0 comments on commit 087cb7c

Please sign in to comment.