Bug Tracker

Modify

Ticket #7169 (closed feature: duplicate)

Opened 3 years ago

Last modified 2 years ago

Allowing $.fn.css to accept an object as a getter

Reported by: OhaiBBQ Owned by:
Priority: low Milestone:
Component: css Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

Hey everyone, someone in the jQueyr chat was trying to get multiple values of some styles using $.fn.css. I figured if you can pass in an object as a setter why can't you pass in an object as a getter? Here's a link to a duck punch of $.fn.css that exemplifies this functionality

 http://jsfiddle.net/OhaiBBQ/Fytr4/

The same could be added to $.fn.attr, $.fn.data etc

Change History

comment:1 Changed 3 years ago by snover

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to css
  • Milestone 1.4.3 deleted

comment:2 Changed 2 years ago by snover

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

comment:3 Changed 2 years ago by snover

Duplicate of #4461.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.