diff options
author | wout <wout@impinc.co.uk> | 2012-12-31 14:43:26 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-31 14:43:26 +0100 |
commit | 8dbe3599dd9b80738c4124f7e71bc12e763c50dc (patch) | |
tree | 97b9d3a3c85ae2cabd17702b74388f219accb2ef /README.md | |
parent | f210affa28f5ad2a92a12d8ca17c7ae6083b1d98 (diff) | |
download | svg.js-8dbe3599dd9b80738c4124f7e71bc12e763c50dc.tar.gz svg.js-8dbe3599dd9b80738c4124f7e71bc12e763c50dc.zip |
Added position()
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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._ |