Creating ohif:hotkeys package
This commit is contained in:
1 parent
f43e0d45c7
commit
5e7edd91ee
7 files changed
+157
-13
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
import { HotkeysManager } from 'meteor/ohif:hotkeys/client/HotkeysManager';
|
||||
|
||||
/**
|
||||
* Create hotkeys namespace using a HotkeysManager class instance
|
||||
*/
|
||||
const hotkeys = new HotkeysManager();
|
||||
|
||||
/**
|
||||
* Append hotkeys namespace to OHIF namespace
|
||||
*/
|
||||
|
||||
OHIF.hotkeys = hotkeys;
|
||||
|
||||
/**
|
||||
* Export relevant objects
|
||||
*/
|
||||
export { hotkeys };
|
||||
Reference in new issue
Block a user