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

Use two extensions

$
0
0

@gpa wrote:

Hi,
I want to use two extensions:
- DrawCommandHandler
- LocalStorageCommandHandler

I'm using the extension in this way:

window.myDiagram =
$(go.Diagram, "myDiagram",
{
nodeTemplateMap: templmap,
groupTemplateMap: grouptemplmap,
allowDrop: true, // accept drops from palette
commandHandler: new DrawCommandHandler(), // defined in DrawCommandHandler.js
commandHandler: new LocalStorageCommandHandler(),
...............

But it seems that the second extension override the first one.

Can You help me?
thanks

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles