Joined March 2015
·
Posted to
Make the logo spin
over 1 year
ago
nice.. i like it
Posted to
JQuery Tips
over 1 year
ago
state your reason please!
Also from that link you posted, you might want to take a took again, let me quote scottgonzalez:
Let's assume .show() and .hide() are bad and therefore should not be used. How can a plugin developer show and hide elements if they can only do so through classes and every other plugin developer and page author must do the same, with no standard classes to be used?
I'd say @paulirish summed it up well with the question:
Is baking in support for these two edge cases into one of jQuery's most simple looking APIs worth being the largest bottleneck in this editor?
It's not even just the bottleneck, I don't think we can reasonably expect any solution other than .show() and .hide() to work for many developers.
Well thank you too! I'm glad you benefited from my Protip.