import { StoryFn, Meta } from '@storybook/vue3' import { ref } from 'vue' import VueSlider from '../../../lib' export default { title: 'props/tooltipPlacement', parameters: { docs: { description: { component: ` - **Type**: \`Position | Array\` \`\`\`ts type Position = 'top' | 'right' | 'bottom' | 'left' \`\`\` - **Default**: \`'top'\` (on horizontal) or \`'left'\` (on vertical) - **Usage**: The placement of the Tooltip. `, }, }, }, } as Meta export const tooltipPlacement: StoryFn = args => ({ components: { VueSlider }, setup() { const value = ref(50) return { value, args } }, template: `

top

left

right

bottom

`, }) tooltipPlacement.storyName = 'tooltipPlacement'