jQuery API Documentation
Note: This method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. jQuery also provides an animation method named .toggle() that toggles the visibility of elements. Whether the animation or the event method is fired depends on the set of arguments passed.
.toggle( handler, handler [, handler ] )Returns: jQueryversion deprecated: 1.8, removed: 1.9 Description: Bind two or more handlers to the matched elements, to be executed on alternate clicks. version added: 1.0.toggle( handler, handler [, handler ] ) handler A function to execute every even time the element is clicked. handler A function to execute every odd time the element is clicked. handler Additional handlers to cycle through after clicks. Note: This method signature was deprecated in jQuery 1.8 and removed in jQuery 1.9. jQuery also provides an animation method named…
saved by
related reading
- jQuery Effects - Animationw3schools.com
- HTMLElement: toggle event - Web APIs | MDNdeveloper.mozilla.org
- Anime.js | JavaScript Animation Engineanimejs.com
- Intersection Observer API - Web APIs | MDNdeveloper.mozilla.org
- Motion (prev Framer Motion): JavaScript & React animation librarymotion.dev
- Inside Framer's Magic Motionnan.fyi
- Transitionsanimations.dev
- How Event Propagation and Delegation Work in JavaScript - DEV Communitydev.to
- Misreading Ulysses by Sally Rooneytheparisreview.org
- will-change in CSSjakub.kr
- HTML Drag and Drop API - Web APIs | MDNdeveloper.mozilla.org
- Introduction to events - Learn web development | MDNdeveloper.mozilla.org