dahoo/raphael.dropshadow.js — Issue #4: dropShadow for sets
Author: sn3p
Created: 2012-02-15 10:37:51+00:00
State: open

```javascript
(function () {
if (Raphael.vml) {
Raphael.el.dropShadow = function (size, offsetX, offsetY) {
// deal with vml
return this;
}
} else {
Raphael.el.dropShadow = function (size, offsetX, offsetY) {
// deal with svg
return this;
}
};

Raphael.st.dropShadow = function (size, offsetX, offsetY) {
return this.forEach(function(el) {
el.dropShadow(size, offsetX, offsetY);
});
};
})();
```