Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#3219 closed enhancement (fixed)

boolean argument to toggle functions

Reported by: dalangalma Owned by: flesler
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: Cc: dalangalma
Blocked by: Blocking:


This is similar to #1681 but more general. I'd like it if all the toggle functions (toggle, toggleClass, slideToggle, etc) could take a boolean to say whether to show or hide them. That way you could replace code that was like:

if (hasErrors) {
else {

it could just be:


Change History (2)

comment:1 Changed 15 years ago by flesler

Owner: set to flesler
Status: newassigned

This seems like a valid enhancement, I'll take care of this.

comment:2 Changed 15 years ago by flesler

Cc: dalangalma added
Resolution: fixed
Status: assignedclosed

Added at [6000] and [6001].

Note: See TracTickets for help on using tickets.