Comments (1)
@kaspar-allenbach That's just an example. You haven't defined callback so it will always fail. You might want to execute another script once all the SVGs have been inlined and that's what the callback allows you to do. There's no problem with the plugin.
from inline-svg.
Related Issues (13)
- Accessibility HOT 2
- Support for SVGs stored on AWS HOT 2
- Convert the script to an AMD/Common.js compatible module HOT 2
- Script not working asynchronously – should be asynchronous to avoid performance issues. HOT 1
- Cannot find module 'inline-svg' when using browserify
- SVG style issue
- Callback Doesn't Ever Fire HOT 1
- Aria labelledby not pointing to correct value HOT 4
- Could you please tag version 2.2.3?
- Cannot read property 'removeAttribute' of undefined HOT 1
- <svg> className is removed
- Wrong handling of `longdesc`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inline-svg.