Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Support for Fragment Ids #27

Open
wants to merge 224 commits into
base: master
Choose a base branch
from
Open

Conversation

flobacher
Copy link

Hi,

I tried to improve the SVGInjector's versatility by adding support for fragment-ids.
This is essential, when combining multiple svgs of a page into 1 file to save HTTP requests.

Hope you like it =)
Best regards,
Florian

@protodave
Copy link
Contributor

Hey Florian! Sorry for the slow response... thanks for this, I'll check it out!

@flobacher
Copy link
Author

Great! Let me know, what you think of it!

flobacher and others added 24 commits May 1, 2015 23:58
…get, name of this class is configurable via options
…within the svg-symbol will be removed and a default icon class will be applied
flobacher and others added 30 commits March 28, 2017 10:34
Do not remove existing element before insert. When the element to be replaced is the first child, it will is the same as `insertBefore`.
if neiter in src svg or sprite nor in the injection-target element, do not create meaningless default `desc` and `title`.
Only add `aria-labelled-by` if meaningfull `desc` and/or `title` exist
fix onDoneCallback for empty array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants