shentao/vue-multiselect
Allow a custom (modifier) class for multiselect
Offen
#667 geöffnet am 13.03.2018
enhancementgood first issue
Repository-Metriken
- Stars
- (6.559 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Hi! I love how multiselect is built using BEM, which nicely matches with our workflow.
However we have several variations of multiselect on our site, and we already have two different styles for these dropdowns. The only possibility I have now is to add styling based on inheritance (eg wrap it in a div), which is kind of anti-BEM ;)
I would prefer to be able to pass a custom prop or option that allows for an additional modifier, so that the base class "multiselect" would become "multiselect multiselect--filter" for example.