You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example below, there are two rectangles: one red, and one blue.
When the red rectangle is clicked once, The console will log "Red Clicked".
When the blue rectangle is clicked once, the console will log "Blue Clicked".
When the blue rectangle is clicked twice, the console will log "Blue Double Clicked"; However,
If the red rectangle is clicked once and then the blue rectangle is quickly clicked once thereafter, the console will log "Blue Double Clicked" although the blue rectangle itself was not double clicked.
In the example below, there are two rectangles: one red, and one blue.
When the red rectangle is clicked once, The console will log "Red Clicked".
When the blue rectangle is clicked once, the console will log "Blue Clicked".
When the blue rectangle is clicked twice, the console will log "Blue Double Clicked"; However,
If the red rectangle is clicked once and then the blue rectangle is quickly clicked once thereafter, the console will log "Blue Double Clicked" although the blue rectangle itself was not double clicked.
Demo: http://jsbin.com/xojeroziti/2/edit?html,js,console,output
The text was updated successfully, but these errors were encountered: