#13217 closed bug (notabug)
Event binding to svg group
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Note: this might be a dupicate of #13180
Test case: http://jsbin.com/oseluw/6/edit
I am not able to bind mouseevents to svg groups as expected using $("#root").find(".parent").on("mouse-event", "g.class", function);
From what I can tell it works in 1.7.2.
Tested in Chrome 24.0.1312.52, Chrome Canary ( 26.0.1383.0 canary), Safari (6.0.2 (8536.26.17)), Firefox (16.0.2, 17.0.1, 18.0) and Opera(12.12)
Change History (2)
comment:1 follow-up: 2 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Replying to dmethvin:
SVG isn't HTML DOM so you have to use attribute syntax:
Ok, thank you very much for the feedback :).
Note: See
TracTickets for help on using
tickets.
SVG isn't HTML DOM so you have to use attribute syntax:
http://jsbin.com/oseluw/9/edit 1.8.3
http://jsbin.com/oseluw/11/edit 1.9.0