Releases: hypesystem/showandtell.js
Multiple-selectors
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
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
Fixes #8
Events used to bubble on .hide()
, .show()
, etc. This is undesirable behaviour, and has been fixed.
1.1.0 - Remove events
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
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()
withheight: hide
,height: toggle
off,opacity: hide
, oropacity: toggle
off.
Triggers jQuery event "show" on:
show()
,fadeIn()
,slideDown()
,toggle()
on,fadeToggle()
on,slideToggle()
on,css
withdisplay
any other thannone
if already hidden,- and
animate()
withheight: show
,height: toggle
on,opacity: show
, oropacity: toggle
on.