add basic keyboard navigation

This commit is contained in:
Philipp Kühn
2021-01-18 16:45:49 +01:00
committed by Hans Pagel
parent b294651c69
commit bb71cf597e
3 changed files with 75 additions and 7 deletions

View File

@@ -58,6 +58,9 @@ export default {
onUpdate(props) {
component.updateProps(props)
},
onKeyDown(props) {
return component.vm.onKeyDown(props)
},
onExit() {
popup[0].destroy()
component.destroy()