Comments (1)
@DamianGlowala Hi, thanks for your suggestion and sorry for the late reply. I understand your point. I saw that Tailwind also has classes for SVG, so you could use that to control the colors as well. On one hand this case is quite framework specific, on the other hand it would give more flexibility.
Your issue made me think about how to give more freedom to the users. The classes would definitely be an easy way to do that. However, there are a some points that, in my opinion, could limit the flexibility:
- I would have to add a prop like
progressClass
for all circles, progress, fill, empty... -> verbose props interface - styles specificity, custom classes have to override internally applied styles
- scoped styles could be a problem in some case and the user have to wrap the component in another component to apply classes
The issue your described is definitely one thing I will like to see in my library. I already have some thoughts on it that I need to evaluate. If I find a satisfactory solution, it will be added in later v2.x version. You are welcome to think along and suggest a possible solution.
from vue-ellipse-progress.
Related Issues (20)
- change the max
- this project cant be used with typescript HOT 2
- How can I go around and then go around again
- What event triggered it? HOT 1
- Gradient not applying correctly HOT 2
- ssr aware HOT 4
- when I use it in iphone6s with ios9οΌit Abnormal display HOT 4
- I guess I cant installed it tell me why and pls help me fixing HOT 6
- Can i define `:progress = (value)` HOT 3
- Typescript support HOT 2
- Create non-pluggin version of the library HOT 2
- $ref is undefined when 'data' is specified on [email protected] HOT 1
- Usage with vue3 + composition API HOT 2
- Trying to display legend on a multiple line ("data" driven chart) HOT 2
- Can't import on Vue 3 HOT 3
- confused on using slot property on vue3 HOT 3
- Responsive sizing? HOT 6
- legendClass example HOT 2
- Animation Triggers Twice upon Mounting in Safari and Ionic App HOT 3
- Remove unused space for half circle HOT 1
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 vue-ellipse-progress.