UNPKG

@cristianglezm/vue-chatbot-widget

Version:

[![cd](https://github.com/cristianglezm/vue-chatbot-widget/actions/workflows/cd.yml/badge.svg?branch=master)](https://github.com/cristianglezm/vue-chatbot-widget/actions/workflows/cd.yml) [![pkg](https://github.com/cristianglezm/vue-chatbot-widget/actions

17 lines (16 loc) 381 B
export function useDraggable(): { position: import("vue").Ref<{ x: number; y: number; }, { x: number; y: number; } | { x: number; y: number; }>; onMouseDown: (event: any) => void; onTouchStart: (event: any) => void; isDragging: import("vue").Ref<boolean, boolean>; setPosition: (pos: any) => void; };