Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Sep 24, 2020
1 parent 7c0246f commit eaaf265
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/UI/Slider.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<template>
<vue-slider
<div>slider</div>
<!-- <vue-slider
:value="value"
@change="onChange"
:min="min"
Expand All @@ -8,18 +9,18 @@
:tooltip="tooltip"
:tooltip-formatter="tooltipFormatter"
:dot-size="12"
/>
/> -->
</template>

<script lang="ts">
import { defineComponent, PropType } from 'vue'
import VueSlider from 'vue-slider-component'
import { TooltipFormatter } from 'vue-slider-component/typings/typings'
// import VueSlider from 'vue-slider-component'
// import { TooltipFormatter } from 'vue-slider-component/typings/typings'
export default defineComponent({
name: 'Slider',
components: {
VueSlider
// VueSlider
},
props: {
value: {
Expand All @@ -38,7 +39,7 @@ export default defineComponent({
type: Number,
default: 100
},
tooltipFormatter: [String, Function] as PropType<TooltipFormatter>,
tooltipFormatter: [String, Function], // as PropType<TooltipFormatter>,
tooltip: {
type: String as PropType<
'none' | 'always' | 'hover' | 'focus' | 'active'
Expand Down

0 comments on commit eaaf265

Please sign in to comment.