Groups
Groups
Sign in
Groups
Groups
KnockoutJS
Conversations
About
Send feedback
Help
Glow animation for updated DOM elements...
43 views
Skip to first unread message
Kevin King
unread,
May 25, 2011, 10:03:47 AM
5/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KnockoutJS
I've been asked to add a jQuery "glow" animation to my DOM elements
(labels, inputs, etc) when their values are changed via the
viewModel.
Is there something built into knockout that can do this for us
automatically?
Thanks!
rpn
unread,
May 25, 2011, 12:11:20 PM
5/25/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to knock...@googlegroups.com
Here is a quick sample of a "glow" binding using jQuery and jQuery UI (required to animate colors).
Not sure if this is kind of what you had in mind:
http://jsfiddle.net/rniemeyer/JKTTz/
You could certainly animate something other than the background color if you wanted. Maybe even pass in the property that you want animated.
Reply all
Reply to author
Forward
0 new messages