Skip to content

Commit fd20542

Browse files
Umi8UmiSarah Leventhal
and
Sarah Leventhal
authored
feat(component): emit keypress events from component to support keyboard navigation overrides (#79)
Co-authored-by: Sarah Leventhal <sarah.leventhal@mastercard.com>
1 parent 356a694 commit fd20542

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/component.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
@change="onChange"
88
@blur="$emit('blur')"
99
@focus="$emit('focus')"
10+
@keyup="$emit('keyup')"
11+
@keydown="$emit('keydown')"
1012
/>
1113
</template>
1214

0 commit comments

Comments
 (0)