-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
I'm building an SPA that shall make extensive use of SVG. This far I have not been able to get any form of 'onclick' working on my SVG elements. I have tried both $onclick="test"
and onclick={e => this.run("test", e)}
, in elements like these:
<circle cx={cx} cy={cy} r={rad} $onclick="test"/>
<rect x="8" y="8" width="90" height="90" stroke="blue" onclick={e => this.run("test", e)}/>
This, however, works fine: <h1 onclick={e => this.run("test", e)}>TEST</h1>
I'm using apprun 2.23.12. Is this a bug?
Metadata
Metadata
Assignees
Labels
No labels