mirror of
https://github.com/nasa/openmct.git
synced 2025-06-16 14:18:16 +00:00
[Selection] Add adapter for context menu
This commit is contained in:
9
src/adapter/gestures/AdaptedContextMenuGesture.js
Normal file
9
src/adapter/gestures/AdaptedContextMenuGesture.js
Normal file
@ -0,0 +1,9 @@
|
||||
define(
|
||||
function () {
|
||||
function AdaptedContextMenuGesture(openmct, element, domainObject) {
|
||||
this.destroy = openmct.gestures.contextMenu(element, domainObject);
|
||||
}
|
||||
|
||||
return AdaptedContextMenuGesture;
|
||||
}
|
||||
);
|
Reference in New Issue
Block a user