diff options
author | wout <wout@impinc.co.uk> | 2012-12-30 19:20:31 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-30 19:20:31 +0100 |
commit | 7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91 (patch) | |
tree | 05441a30fbac6ccdd9ee2cf91b3c583a5ab6e0a4 /README.md | |
parent | b663ead6ee026e4c7b6f3b971e2490222c4a3a1a (diff) | |
download | svg.js-7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91.tar.gz svg.js-7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91.zip |
Added hide() and show()
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -215,6 +215,18 @@ This is an extra method to move an element by its center: rect.center(150, 150); ``` +### Hide and show +We all love to have a little hide: + +```javascript +rect.hide(); +``` + +and show: + +```javascript +rect.show(); +``` ### Removing elements Pretty straightforward: |