Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Adding fallbackSVG Input #164

Merged
merged 3 commits into from
Mar 22, 2021
Merged

Adding fallbackSVG Input #164

merged 3 commits into from
Mar 22, 2021

Conversation

emanuelefricano93
Copy link
Contributor

@emanuelefricano93 emanuelefricano93 commented Mar 21, 2021

Closes #165

Using this library within my company project, we had to generate the SVG file based on some data received from the backend.
In case of no corresponding SVG is present we handle it by defining the output onSVGFailed and we just switch the inlineSVG input with our fallbackSVG.

For this reason, I created this PR, in order to have the possibility to provide a fallbackSVG without handle it with the onSVGFailed output.

Have a nice day :)

@emanuelefricano93 emanuelefricano93 mentioned this pull request Mar 21, 2021
@emanuelefricano93
Copy link
Contributor Author

Hello @arkon ,
Can you please review this one?

@emanuelefricano93 emanuelefricano93 marked this pull request as draft March 22, 2021 09:08
@emanuelefricano93 emanuelefricano93 marked this pull request as ready for review March 22, 2021 09:09
@arkon arkon merged commit 38029bd into arkon:master Mar 22, 2021
@arkon
Copy link
Owner

arkon commented Mar 22, 2021

Thanks for the contribution!

@emanuelefricano93
Copy link
Contributor Author

It was a pleasure 😃

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fallback SVG
2 participants