summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2013-01-30 16:00:03 +0100
committerwout <wout@impinc.co.uk>2013-01-30 16:00:03 +0100
commit4a7588695a1b385f41acd6cbbfaf76b38b2a1439 (patch)
tree18cf5704748de3fde71281753809034886377dcf /README.md
parent610e40c62cfbd704db39c1516320de5cf61e36bd (diff)
downloadsvg.js-4a7588695a1b385f41acd6cbbfaf76b38b2a1439.tar.gz
svg.js-4a7588695a1b385f41acd6cbbfaf76b38b2a1439.zip
Added visible() and opacity() methods0.4
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 78facd8..05ef0bb 100644
--- a/README.md
+++ b/README.md
@@ -231,6 +231,11 @@ and show:
rect.show();
```
+To check if the element is visible:
+```javascript
+rect.visible();
+```
+
### Removing elements
Pretty straightforward:
@@ -646,7 +651,7 @@ Obviously unbinding is practically the same:
SVG.off(window, 'click', click);
```
-Available events are `click`, `dblclick`, `mousedown`, `mouseup`, `mouseover`, `mouseout`, `mousemove`, `touchstart`, `touchend`, `touchmove` and `touchcancel`.
+Available events are `click`, `dblclick`, `mousedown`, `mouseup`, `mouseover`, `mouseout`, `mousemove`, `mouseenter`, `mouseleave`, `touchstart`, `touchend`, `touchmove` and `touchcancel`.
## Data