Permalink
Browse files

Added 'update' event to Fx.CSS

  • Loading branch information...
1 parent af20bbc commit e3970f6a196903860675be520a38e1e3c165f123 kilian-air committed Oct 1, 2010
Showing with 6 additions and 0 deletions.
  1. +6 −0 Source/Fx/Fx.CSS.js
View
@@ -74,6 +74,12 @@ Fx.CSS = new Class({
render: function(element, property, value, unit){
element.setStyle(property, this.serve(value, unit));
+ this.triggerEvent('update', {
+ target: element,
+ property: property,
+ value: value,
+ unit: unit
+ });
},
//searches inside the page css to find the values for a selector

0 comments on commit e3970f6

Please sign in to comment.