Skip to content

Commit 23dcb64

Browse files
committed
Merge branch 'main' of https://github.com/jamesmartin/inline_svg into main
2 parents dbf4fd1 + 0c2a016 commit 23dcb64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ key | description
9898
`preserve_aspect_ratio` | adds a `preserveAspectRatio` attribute to the SVG
9999
`aria` | adds common accessibility attributes to the SVG (see [PR #34](https://github.com/jamesmartin/inline_svg/pull/34#issue-152062674) for details)
100100
`aria_hidden` | adds the `aria-hidden=true` attribute to the SVG
101+
`fallback` | set fallback SVG document
101102

102103
Example:
103104

@@ -113,7 +114,8 @@ inline_svg_tag(
113114
nocomment: true,
114115
preserve_aspect_ratio: 'xMaxYMax meet',
115116
aria: true,
116-
aria_hidden: true
117+
aria_hidden: true,
118+
fallback: 'fallback-document.svg'
117119
)
118120
```
119121

0 commit comments

Comments
 (0)