Open nathanhornby opened 7 years ago
There is an option which allows you to define a custom class prefix.
/*
* Type: Object
* Description: Customize classes.
*/
customClass: {
prefix: 'selectric', // Type: String. Description: Prefixed string of every class name.
camelCase: false // Type: Boolean. Description: Switch classes style between camelCase or dash-case.
},
Excellent that's good to know!
I still think the current classes are begging for conflicts though.
Indeed! That's a thing which should be fixed soon. Namespacing is always a good idea. Would you like to provide a PR?
It's certainly simple enough for me to tackle! Time is my enemy at the moment but feel free to assign.
On Wed, 10 May 2017, 21:32 Steffen Giers, notifications@github.com wrote:
Indeed! That's a thing which should be fixed. Namespacing is always a good idea. Would you like to provide a PR?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lcdsantos/jQuery-Selectric/issues/174#issuecomment-300603843, or mute the thread https://github.com/notifications/unsubscribe-auth/AB4jgM7M5mmPFQIj_WZtLjzEa6gW_Dq-ks5r4h7agaJpZM4MqCcZ .
Awesome! Don't feel stressed, take the time you need :)
Feel free to ask if you have any questions!
I'm having trouble with generically named classes interfering with my own, namely
.label
and.button
.I'd suggest renaming to
.selectric-label
and.selectric-button
to avoid as many compatibility issues as possible.