connection context menu

This commit is contained in:
Jan Prochazka
2021-02-28 18:12:13 +01:00
parent 5929a01010
commit c497c1ceca
5 changed files with 61 additions and 4 deletions

View File

@@ -15,5 +15,8 @@ export default function contextMenu(node, items) {
destroy() {
node.removeEventListener('contextmenu', handleContextMenu);
},
update(value) {
items = value;
},
};
}