Add Support for Class and ID on SVG
Adds support for ID and Class attrs on the SVG element.
<%= svg_image(@conn, "home", class: "logo", id: "bounce-animation") %>
Will result in the output:
<svg class="logo" id="bounce-animation">...</svg>
Adds support for ID and Class attrs on the SVG element.
<%= svg_image(@conn, "home", class: "logo", id: "bounce-animation") %>
Will result in the output:
<svg class="logo" id="bounce-animation">...</svg>