Actions
Feature #93550
closedSVG Inline ViewHelper
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-02-19
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
easy
Sprint Focus:
Description
Currently it is possible to render inline svgs via a the cObject viewhelper and a cObject of type SVG.
It would be more convenient to have a separate SVG inline viewhelper, which supports the current and not deprecated attributes of svg as arguments.
The syntax would look like
<f:svgInline source="<path/to/your/svg.svg>" height="200" width="200" viewBox="0 0 100 100" class="my_css_class" />
I would be happy to implement it, if you think, that this is a good idea.
Actions