Skip to content

Commit

Permalink
Merge pull request #121 from bartosjiri/master
Browse files Browse the repository at this point in the history
Add fallback option to README
  • Loading branch information
jamesmartin committed Jul 15, 2020
2 parents ed19d7c + a566265 commit 0c2a016
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ key | description
`preserve_aspect_ratio` | adds a `preserveAspectRatio` attribute to the SVG
`aria` | adds common accessibility attributes to the SVG (see [PR #34](https://github.com/jamesmartin/inline_svg/pull/34#issue-152062674) for details)
`aria_hidden` | adds the `aria-hidden=true` attribute to the SVG
`fallback` | set fallback SVG document

Example:

Expand All @@ -113,7 +114,8 @@ inline_svg_tag(
nocomment: true,
preserve_aspect_ratio: 'xMaxYMax meet',
aria: true,
aria_hidden: true
aria_hidden: true,
fallback: 'fallback-document.svg'
)
```

Expand Down

0 comments on commit 0c2a016

Please sign in to comment.