Phoenix Inline SVG v1.1.2 Release Notes

Release Date: 2018-05-17 // almost 6 years ago
  • ➕ 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\>