Skip to content
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

feat(VSlider): add start and end events #16514

Merged
merged 2 commits into from
Apr 20, 2023
Merged

feat(VSlider): add start and end events #16514

merged 2 commits into from
Apr 20, 2023

Conversation

nekosaur
Copy link
Member

Description

closes #15675

Markup:

<template>
  <div class="ma-10" @mouseup="foo">
    <v-slider
      :model-value="model"
      @end="end"
    ></v-slider>
    <pre>{{ model }}</pre>
    <v-range-slider
      :model-value="model2"
      @end="end2"
    ></v-range-slider>
    <pre>{{ model2 }}</pre>
  </div>
</template>

<script>
  export default {
    data: () => ({
      model: 10,
      model2: [10, 20],
    }),
    methods: {
      end (v) {
        this.model = v
      },
      end2 (v) {
        this.model2 = v
      },
    },
  }
</script>

@nekosaur nekosaur added this to the v3.2.0 (Orion) milestone Jan 24, 2023
@nekosaur nekosaur self-assigned this Jan 24, 2023
@nekosaur nekosaur force-pushed the feat/slider-events branch from 4f6549a to c58c597 Compare March 15, 2023 18:03
@nekosaur nekosaur requested a review from johnleider March 15, 2023 18:04
@johnleider johnleider added C: VSlider VSlider T: feature A new feature labels Apr 6, 2023
johnleider
johnleider previously approved these changes Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VSlider VSlider T: feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants