Event Tests

isSupported

GO!

Simple

Mouse over the grey box to see the background become blue. Click Go! to remove the listeners.

Scoped

Mouse over the grey box to see the background become red.

Legacy

Mouse over the grey box to see the background become green. Click Go! to remove the legacy listeners.

Purge

The grey boxes have DOM2 and legacy listeners. Click Go! to remove the all listeners added through FORK.Event API. Refresh the page and then Click Go2! to remove all mouseout listeners added through FORK.Event API.

Unload

Click Go! to somewhat simulate a page unload. All examples should stop listening. The "somewhat" is because the FORK.Event._unload function is not passed an event in this test.

Location

Click on the grey box

x position:

y position: