Skip to content

feat(VSlideGroup): add content class to VSlideGroup props #21431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2025

Conversation

jcjp
Copy link
Contributor

@jcjp jcjp commented May 18, 2025

Description

Markup:

<template>
  <v-sheet class="mx-auto" max-width="600">
    <v-slide-group show-arrows content-class="bg-red">
      <v-slide-group-item
        v-for="n in 25"
        :key="n"
        v-slot="{ isSelected, toggle }"
      >
        <v-btn
          :color="isSelected ? 'primary' : undefined"
          class="ma-2"
          rounded
          @click="toggle"
        >
          Options {{ n }}
        </v-btn>
      </v-slide-group-item>
    </v-slide-group>
  </v-sheet>
</template>

<style>
  .bg-red {
    background-color: red;
  }
</style>

@jcjp jcjp merged commit 935351c into dev May 26, 2025
19 checks passed
@jcjp jcjp deleted the feat(VSlideGroup)/add-content-class branch May 26, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants