Add documentation about the toggle event handling.