Comments (3)
Sorry, the component will only animate SVG path
primitives, not circles or other types :(
from react-mt-svg-lines.
is there anyway this could be a feature? I have issues making some animation happen,
and this little plugin would do wonders :P
from react-mt-svg-lines.
Not sure without trying (no time right now but from what i recall this technique only applies to paths), but.. your simplest solution is to remake your SVG circles using paths (in Illustrator for example)
Also, i see in your SVGs you're already setting the strokeDasharray
and strokeDashoffset
which is what MtSvgLines modifies to achieve its "draw" animations, so... if you need your lines dashed to begin with, probably not the right solution :(
from react-mt-svg-lines.
Related Issues (14)
- TypeError: pathEl.getTotalLength is not a function when mounting with enzyme / jest HOT 4
- Uncaught TypeError: Cannot read property 'oneOf' of undefined HOT 5
- Use case HOT 1
- callback firing before expected. HOT 4
- TypeError invoking getElementsByName and getTotalLength HOT 1
- Randomized className attribute causes react-test-renderer snapshots to fail HOT 1
- Issues when using multiple components on same page because CSS is not scoped HOT 1
- Can't resolve 'react-mt-svg-lines' in '/opt/build/repo/src/components' HOT 3
- having issues with paths exported from illustrator HOT 2
- End of Animation callback HOT 2
- Compatibility IE 10, 11 Edge ! HOT 3
- Uncaught Invariant Violation: Element type is invalid HOT 4
- Fix crash during Server Side Rendering HOT 4
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 react-mt-svg-lines.