Ticket #8049 (closed bug: fixed)

Opened 16 months ago

Last modified 9 months ago

toggleClass documentation

Reported by: guettli Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.effects.core Version:
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 15 months ago by joern.zaefferer

  • Status changed from new to open
  • Component changed from [meta] ui.docs to effects.core

comment:2 Changed 9 months ago by scott.gonzalez

  • Status changed from open to closed
  • Resolution set to fixed

This is done in the new API repo.

Note: See TracTickets for help on using tickets.