Skip to content

Commit 9cb5335

Browse files
committed
support for custom function keys
1 parent 8f37ccc commit 9cb5335

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/keyboard.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@
232232
return;
233233
}
234234
235+
default: {
236+
this.$emit(key.func);
237+
}
238+
235239
}
236240
} else {
237241
addChar = key.key;

0 commit comments

Comments
 (0)