How to distinguish between click and de-click in treemap?

I know we can use clickData in treemap, but if we de-click the block, how can we let the program know that this is a de-click?