Skip to content

Releases: hypesystem/showandtell.js

Multiple-selectors

16 Feb 15:37
Compare
Choose a tag to compare

This release adds support for selecting multiple elements with a single selector statement, and triggering showandtell events correctly on all selected events.

For example, $("#div1, #div2").hide(); will now correctly trigger events for both #div1 and #div2.

Thanks to Paul Biron for the contribution!

Namespaced events

27 Jun 11:09
Compare
Choose a tag to compare

Namespace support is now widely available, so we have changed the interface of the library to use events such as showandtell.hide rather than just hide. This should improve interoperability with other libs that may have similarly named events.

All contributions by ViRuSTriNiTy. Thanks! 👏

No bubbling on trigger

26 May 12:51
Compare
Choose a tag to compare

Fixes #8

Events used to bubble on .hide(), .show(), etc. This is undesirable behaviour, and has been fixed.

1.1.0 - Remove events

26 Jan 12:25
Compare
Choose a tag to compare

Changelog:

  • Events now trigger after the action has been performed
  • Remove triggers its own event, so there are now three events: "hide", "show", and "remove".

1.0.0

16 Jan 18:56
Compare
Choose a tag to compare

First version.

Triggers jQuery event "hide" on:

  • hide(),
  • fadeOut(),
  • slideUp(),
  • remove(),
  • toggle() off,
  • fadeToggle() off,
  • slideToggle() off,
  • css('display','none') if not hidden,
  • and animate() with height: hide, height: toggle off, opacity: hide, or opacity: toggle off.

Triggers jQuery event "show" on:

  • show(),
  • fadeIn(),
  • slideDown(),
  • toggle() on,
  • fadeToggle() on,
  • slideToggle() on,
  • css with display any other than none if already hidden,
  • and animate() with height: show, height: toggle on, opacity: show, or opacity: toggle on.