EmptyAreaClick

fires on clicking an empty space in the editor (not a shape or a connector)

void EmptyAreaClick(Event e){ ... };

Parameters

eEventa native event object

Example

diagram.events.on("EmptyAreaClick",function(){
    console.log("An empty space has been clicked");
});

Related samples

Back to top