Add action to open reusabel context menu
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
a2eb9734f1
commit
a279995982
3 changed files with 19 additions and 0 deletions
|
|
@ -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]?.();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue