HI everyone, is onclick tag in SVG supported in co...
# compose-desktop
k
HI everyone, is onclick tag in SVG supported in compose desktop? something like this?
Copy code
<rect x="115" y="231" width="11" height="1" fill="#4D4D4D" onclick=""/>
t
Ah, sorry. Confused compose-desktop and compose-web channels : P
👍 1
k
no problem .. i edited my question to add desktop compose explicitly, thanks
i
There is no way to do that in the current desktop implementation. SVG in desktop is implemented in purely static way (only to display image, without interacting with it), and will stay in that state for a long time. If you need to interact with SVG, you should write the logic outside of SVG.
👍 1
k
thanks for information @Igor Demin appreciated