Opened 10 years ago

Closed 7 years ago

#5016 closed feature (invalid)

Selectable: invert selection

Reported by: reader Owned by: reader
Priority: minor Milestone: 2.0.0
Component: ui.selectable Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

I didn't find anything anywhere to invert the selection of a selectable, so if it's not possible it should be.

Change History (4)

comment:1 Changed 8 years ago by rrotter

A method to invert the entire selection, or an option to invert the selection when using the meta/control key? Both might be nice. I'm working on a patch for this, but I don't know if I should use this bug or open a new one given how vague this is.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD2.0.0

comment:3 Changed 7 years ago by petersendidit

Owner: set to reader
Status: newpending
Summary: Selectable invert selectionSelectable: invert selection

If I understand the request correctly you can easily invert the selection by using toggleClass and the refresh method of selectable.

Example: http://jsfiddle.net/petersendidit/eTrNC/

Is this what you are trying to do?

comment:4 Changed 7 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.