Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat(refinement-list): add BEM classes for labels and checkboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau authored and rayrutjes committed Aug 3, 2017
1 parent b440e7b commit 5c4f463
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/RefinementList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<slot name="header"></slot>

<div v-for="(facet, key) in facetValues" :key="key" :class="[bem('item'), facet.isRefined ? bem('item', 'active') : '']">
<label>
<label :class="bem('label')">
<input type="checkbox"
:class="bem('checkbox')"
v-model="facet.isRefined"
@change="toggleRefinement(facet)"
:value="facet.name"
Expand Down

0 comments on commit 5c4f463

Please sign in to comment.