Loading src/App.vue +9 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ const keyCodes = { down: 40, enter: 13, esc: 27, shift: 16 shift: 16, t: 84 }; // Export main app Loading Loading @@ -230,6 +231,7 @@ export default { ) { this.navigateKeyHandler(keyCodes); this.captureKeyHandler(keyCodes); this.letterKeyHandler(keyCodes); } }, Loading Loading @@ -283,6 +285,12 @@ export default { console.log("Capturing"); this.$root.$emit("globalCaptureEvent"); } }, letterKeyHandler: function(keyCodes) { if (keyCodes.shift in this.keysDown && keyCodes.t in this.keysDown) { this.$tours["guidedTour"].start(); } } } }; Loading Loading
src/App.vue +9 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ const keyCodes = { down: 40, enter: 13, esc: 27, shift: 16 shift: 16, t: 84 }; // Export main app Loading Loading @@ -230,6 +231,7 @@ export default { ) { this.navigateKeyHandler(keyCodes); this.captureKeyHandler(keyCodes); this.letterKeyHandler(keyCodes); } }, Loading Loading @@ -283,6 +285,12 @@ export default { console.log("Capturing"); this.$root.$emit("globalCaptureEvent"); } }, letterKeyHandler: function(keyCodes) { if (keyCodes.shift in this.keysDown && keyCodes.t in this.keysDown) { this.$tours["guidedTour"].start(); } } } }; Loading