vue-accordion icon indicating copy to clipboard operation
vue-accordion copied to clipboard

I found some limit in this component and may I push some requests?

Open parrotdance opened this issue 8 years ago • 2 comments

I met some trouble during I use this component in my project. Such as:

  1. Can not customize class name of component , once I use :accordionClass="someOtherClassName" , the element disappeard. Because the selector of stylesheet is .vue-accordin .
  2. 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 ?

parrotdance avatar Nov 10 '17 07:11 parrotdance

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!

zeratulmdq avatar Nov 10 '17 13:11 zeratulmdq

Okay, thanks for your permission. I'll do it if free.

parrotdance avatar Nov 11 '17 02:11 parrotdance