Opened 11 years ago
Closed 10 years ago
#8049 closed bug (fixed)
toggleClass documentation
Reported by: | guettli | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.effects.core | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
toggleClass supports a "switch" like jquery. But this is not documented.
jquery-ui docs:
http://jqueryui.com/demos/toggleClass/
jquery: http://api.jquery.com/toggleClass/
Example usage: highlight, if input contains a value: $(this).toggleClass('highlight-input', Boolean($(this).val()), "slow");
Change History (2)
comment:1 Changed 11 years ago by
Component: | [meta] ui.docs → effects.core |
---|---|
Status: | new → open |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
This is done in the new API repo.