add nodeRightclick event

pull/3094/head
yann300 7 years ago
parent 93d1bab01e
commit ba573e1fe4
  1. 3
      remix-debugger/src/ui/TreeView.js

@ -92,6 +92,9 @@ class TreeView {
label.onclick = function () {
self.expand(keyPath)
}
label.oncontextmenu = function (event) {
self.event.trigger('nodeRightClick', [key, data, label, event])
}
li.appendChild(list)
} else {
caret.style.visibility = 'hidden'

Loading…
Cancel
Save