Add action to open reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -147,6 +147,14 @@ class Navigation extends EventEmitter {
|
||||
action.term,
|
||||
);
|
||||
},
|
||||
[cons.actions.navigation.OPEN_REUSABLE_CONTEXT_MENU]: () => {
|
||||
this.emit(
|
||||
cons.events.navigation.REUSABLE_CONTEXT_MENU_OPENED,
|
||||
action.placement,
|
||||
action.cords,
|
||||
action.render,
|
||||
);
|
||||
},
|
||||
};
|
||||
actions[action.type]?.();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user