aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-30 19:20:31 +0100
committerwout <wout@impinc.co.uk>2012-12-30 19:20:31 +0100
commit7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91 (patch)
tree05441a30fbac6ccdd9ee2cf91b3c583a5ab6e0a4 /README.md
parentb663ead6ee026e4c7b6f3b971e2490222c4a3a1a (diff)
downloadsvg.js-7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91.tar.gz
svg.js-7d3e4c43a64cdb9ce19b71d8dc1783c0bc031d91.zip
Added hide() and show()
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6064961..a1dac4e 100644
--- a/README.md
+++ b/README.md
@@ -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: