summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fx.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fx.js b/src/fx.js
index 3d8d6fe..36535b1 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -862,6 +862,14 @@ SVG.extend(SVG.FX, {
return this
}
+ // Add animatable width
+, width: function(width) {
+ return this.add('width', new SVG.Number(width))
+ }
+ // Add animatable height
+, height: function(height) {
+ return this.add('height', new SVG.Number(height))
+ }
// Add animatable plot
, plot: function(a, b, c, d) {
// Lines can be plotted with 4 arguments