mirror of
https://github.com/nasa/openmct.git
synced 2025-02-08 03:50:39 +00:00
Context menu next to object header now dismisses when touching away from it. Also, when long touching an object, the context menu appears. Set on 500ms timeout.
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"extensions": {
|
|
"directives": [
|
|
{
|
|
"key": "mctInclude",
|
|
"implementation": "MCTInclude.js",
|
|
"depends": [ "templates[]", "$sce" ]
|
|
},
|
|
{
|
|
"key": "mctRepresentation",
|
|
"implementation": "MCTRepresentation.js",
|
|
"depends": [ "representations[]", "views[]", "representers[]", "$q", "$sce", "$log" ]
|
|
}
|
|
],
|
|
"gestures": [
|
|
{
|
|
"key": "drag",
|
|
"implementation": "gestures/DragGesture.js",
|
|
"depends": [ "$log", "dndService" ]
|
|
},
|
|
{
|
|
"key": "drop",
|
|
"implementation": "gestures/DropGesture.js",
|
|
"depends": [ "dndService", "$q" ]
|
|
},
|
|
{
|
|
"key": "menu",
|
|
"implementation": "gestures/ContextMenuGesture.js",
|
|
"depends": ["$timeout", "queryService"]
|
|
}
|
|
],
|
|
"components": [
|
|
{
|
|
"provides": "gestureService",
|
|
"type": "provider",
|
|
"implementation": "gestures/GestureProvider.js",
|
|
"depends": ["gestures[]"]
|
|
}
|
|
],
|
|
"representers": [
|
|
{
|
|
"implementation": "gestures/GestureRepresenter.js",
|
|
"depends": [ "gestureService" ]
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"key": "dndService",
|
|
"implementation": "services/DndService.js",
|
|
"depends": [ "$log" ]
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"key": "menu",
|
|
"implementation": "actions/ContextMenuAction.js",
|
|
"depends": [ "$compile", "$document", "$window", "$rootScope", "queryService" ]
|
|
}
|
|
]
|
|
}
|
|
}
|