Custom button styling and click events with CSS/SVG

I did make a module too, but i also made a simpler js injected version.

If i remember correctly, it catches the most specific name property of the svg elements and writes it to a view.custom prop. where you can handle your "onclick" event in the onchange of this property.
Not the id property as asked, so you will have to add all of those, limitation by perspective sadly.

1 Like