diff options
author | wout <wout@impinc.co.uk> | 2013-01-30 16:00:03 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2013-01-30 16:00:03 +0100 |
commit | 4a7588695a1b385f41acd6cbbfaf76b38b2a1439 (patch) | |
tree | 18cf5704748de3fde71281753809034886377dcf /README.md | |
parent | 610e40c62cfbd704db39c1516320de5cf61e36bd (diff) | |
download | svg.js-4a7588695a1b385f41acd6cbbfaf76b38b2a1439.tar.gz svg.js-4a7588695a1b385f41acd6cbbfaf76b38b2a1439.zip |
Added visible() and opacity() methods0.4
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |