Categories

'toggle' Special Event

Categories: Browser Events

.bind( 'toggle', ... )

Plugin: jQuery.event.special.dom

Description: Bind special event on toggle element.

  • .bind( 'toggle', ... )

    version added: 1.0

This .bind() implements a simple bind of an event, fired when the visbility of the element switch from visible to hidden or vice versa. This is not a native browser event, there is a polling running in the background to check the state of the element 40 times per second.

See the .bind() and .unbind() method references for a way to bind/unbind event handlers.