Skip to content

Commit

Permalink
feat: add BEM compliant class names to step buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
rebotak authored and mmorainville committed Dec 30, 2019
1 parent 6c4cb1a commit 34b9625
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/VStep.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@

<slot name="actions">
<div class="v-step__buttons">
<button @click.prevent="stop" v-if="!isLast" class="v-step__button">{{ labels.buttonSkip }}</button>
<button @click.prevent="previousStep" v-if="!isFirst" class="v-step__button">{{ labels.buttonPrevious }}</button>
<button @click.prevent="nextStep" v-if="!isLast" class="v-step__button">{{ labels.buttonNext }}</button>
<button @click.prevent="stop" v-if="isLast" class="v-step__button">{{ labels.buttonStop }}</button>
<button @click.prevent="stop" v-if="!isLast" class="v-step__button v-step__button-skip">{{ labels.buttonSkip }}</button>
<button @click.prevent="previousStep" v-if="!isFirst" class="v-step__button v-step__button-previous">{{ labels.buttonPrevious }}</button>
<button @click.prevent="nextStep" v-if="!isLast" class="v-step__button v-step__button-next">{{ labels.buttonNext }}</button>
<button @click.prevent="stop" v-if="isLast" class="v-step__button v-step__button-stop">{{ labels.buttonStop }}</button>
</div>
</slot>

Expand Down

0 comments on commit 34b9625

Please sign in to comment.