Go js diagram event

When i clicked mouse left button out side the diagram area. how to trigger click event ?

Please provide the your suggestion

What are you trying to do? It seems odd that you’d want to trigger some click event in the diagram when clicking outside.