UNPKG

wetrade-design

Version:

一款多语言支持Vue3的UI框架

7 lines (6 loc) 290 B
import type { Ref } from 'vue'; /** * Keep input cursor in the correct position if possible. * Is this necessary since we have `formatter` which may mass the content? */ export default function useCursor(inputRef: Ref<HTMLInputElement>, focused: Ref<boolean>): [() => void, () => void];