Update setStyle to support property, value arguments and a callback as the value.
Reported by Joe Gornick | September 21st, 2010 @ 11:58 AM | in Iteration 3
Add the ability to call setStyle
like
setStyle(property, value)
. Also, allow the
value
argument to be a callback which will set the
value of the parameter.
Comments and changes to this ticket
-
Joe Gornick September 21st, 2010 @ 11:59 AM
Should we allow callbacks when an object or hash is used as the value for a property?
-
Joe Gornick October 5th, 2010 @ 12:50 AM
Initial commit can be found @ http://github.com/jgornick/fusejs/commit/6ffbd94313666154b0dbc47a7c...
Still need to write the callback approach.
-
Joe Gornick October 5th, 2010 @ 12:51 AM
- State changed from new to open
-
Joe Gornick October 6th, 2010 @ 12:00 PM
- State changed from open to patched
- Assigned user changed from Joe Gornick to John-David Dalton
John-David and I decided to not allow a callback option but rather instead iterate through the list and apply the styles that way. However, the commit above includes support for the two argument (property, value) API.
-
Joe Gornick March 22nd, 2011 @ 09:35 PM
- Milestone set to Iteration 2
- Milestone order changed from 5 to 0
-
Joe Gornick March 22nd, 2011 @ 09:41 PM
- Milestone changed from Iteration 2 to Iteration 3
- Milestone order changed from 14 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.