AfterUnSelect

fires after unselecting a shape

void AfterUnSelect(string|number id){ ... };

Parameters

idstring|numberthe shape id

Example

var diagram = new dhx.Diagram("diagram_container", { 
    type: "org", 
    select: true        
});
 
diagram.events.on("AfterUnSelect", function (id) {
    console.log(diagram.data.getItem(id).text + " was unselected");
});

Related samples

See also
Back to top