aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-31 14:43:26 +0100
committerwout <wout@impinc.co.uk>2012-12-31 14:43:26 +0100
commit8dbe3599dd9b80738c4124f7e71bc12e763c50dc (patch)
tree97b9d3a3c85ae2cabd17702b74388f219accb2ef /README.md
parentf210affa28f5ad2a92a12d8ca17c7ae6083b1d98 (diff)
downloadsvg.js-8dbe3599dd9b80738c4124f7e71bc12e763c50dc.tar.gz
svg.js-8dbe3599dd9b80738c4124f7e71bc12e763c50dc.zip
Added position()
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 857bf8d..554303e 100644
--- a/README.md
+++ b/README.md
@@ -356,6 +356,14 @@ rect.forward();
rect.backward();
```
+The arrange.js module brings some additional methods:
+
+```javascript
+// returns the position (a number) of the element between its siblings
+rect.position();
+```
+
+
_This functionality requires the arrange.js module which is included in the default distribution._