Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6969

Pop up context menu on ExternalObjectsDropped

$
0
0

@chinenyem wrote:

How can i do a pop up context menu on externalobjeindent preformatted text by 4 spacesctsdropped event?
This is what I have:

"ExternalObjectsDropped": function(e){
console.log("dropped")
cxTool.showContextMenu(cxTool, null)

          }

It produces the context menu but I get this error:
go.js:13 Uncaught Error: ContextMenuTool.currentContextMenu value is not an instance of Adornment: ContextMenu Tool

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles