vue-accordion
vue-accordion copied to clipboard
I found some limit in this component and may I push some requests?
I met some trouble during I use this component in my project. Such as:
- Can not customize class name of component , once I use
:accordionClass="someOtherClassName", the element disappeard. Because the selector of stylesheet is.vue-accordin. - All images and descriptions are not display in default status . Example , sometimes I hope one of the images can be expand when element render finished -- And there are not options about this . For requirement of my work, I have download your source code and add some feature I need. I think this component is useful and hope to improve it with you. May I ?
Hey there! Of course you can. It was just a PoC I created some time ago and didn't work much on it after that. I was aware of the class problem and I would also like not to pass objects as props (since you can't use vue-router with this) but slots or another component to act as a wrapper. Whatever works for you, just create a PR and as long it doesn't break functionality I'll merge it ASAP.
Cheers!
Okay, thanks for your permission. I'll do it if free.