mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
fixes
This commit is contained in:
1 parent
bed6793b8b
commit
b02a8c734d
18 files changed
+95
-23
No files matched your search
@@ -0,0 +1,11 @@
|
||||
export default {
|
||||
mounted() {
|
||||
window.addEventListener('keydown', this.handleKeyDown)
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleKeyDown(event) {
|
||||
if (event.keyCode === 27) this.closeModal()
|
||||
}
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user