chore(node) add comments for signals management description
This commit is contained in:
parent
1d8fa9d616
commit
567cff3568
1 changed files with 5 additions and 3 deletions
|
|
@ -186,7 +186,7 @@ export default {
|
||||||
shortcut: "pgup / pgdn",
|
shortcut: "pgup / pgdn",
|
||||||
description: "Move the microscope focus",
|
description: "Move the microscope focus",
|
||||||
});
|
});
|
||||||
|
// The following signal is managed (on/off) by actionButton.vue at this.submitOnEvent.
|
||||||
Mousetrap.bind("c", () => {
|
Mousetrap.bind("c", () => {
|
||||||
eventBus.emit("globalCaptureEvent", {});
|
eventBus.emit("globalCaptureEvent", {});
|
||||||
});
|
});
|
||||||
|
|
@ -194,7 +194,8 @@ export default {
|
||||||
shortcut: "c",
|
shortcut: "c",
|
||||||
description: "Take a capture",
|
description: "Take a capture",
|
||||||
});
|
});
|
||||||
|
// The following signal is managed (on/off) by actionButton.vue at this.submitOnEvent.
|
||||||
|
// There's no visual feedback when the event is triggered
|
||||||
Mousetrap.bind("a", () => {
|
Mousetrap.bind("a", () => {
|
||||||
eventBus.emit("globalFastAutofocusEvent", {});
|
eventBus.emit("globalFastAutofocusEvent", {});
|
||||||
});
|
});
|
||||||
|
|
@ -202,10 +203,11 @@ export default {
|
||||||
shortcut: "a",
|
shortcut: "a",
|
||||||
description: "Fast autofocus",
|
description: "Fast autofocus",
|
||||||
});
|
});
|
||||||
|
// This signal is managed on lifecycle mounted and unmounted optionsAPI at appContent.vue.
|
||||||
Mousetrap.bind("shift+down", () => {
|
Mousetrap.bind("shift+down", () => {
|
||||||
eventBus.emit("globalIncrementTab", {});
|
eventBus.emit("globalIncrementTab", {});
|
||||||
});
|
});
|
||||||
|
// This signal is managed on lifecycle mounted and unmounted optionsAPI at appContent.vue.
|
||||||
Mousetrap.bind("shift+up", () => {
|
Mousetrap.bind("shift+up", () => {
|
||||||
eventBus.emit("globalDecrementTab", {});
|
eventBus.emit("globalDecrementTab", {});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue