1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 02:36:36 +00:00

Add an event for deletion hotkey

This commit is contained in:
jacobherrington
2018-09-30 20:17:10 -05:00
parent 2ccd00a378
commit 4717e4fe3f
2 changed files with 8 additions and 0 deletions

View File

@@ -3,5 +3,8 @@ import ee from 'browser/main/lib/eventEmitter'
module.exports = {
'toggleMode': () => {
ee.emit('topbar:togglemodebutton')
},
'deleteNote': () => {
ee.emit('hotkey:deletenote')
}
}