UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

16 lines (15 loc) 438 B
import { Ref } from 'vue'; import { Emits, Props } from '../src/types'; /** * hook * * @param props 组件属性 * @param editableRef 实例 * @param emits 组件事件触发器 */ export declare const useEditorText: (props: Props, editableRef: Ref<any | null>, emits: Emits) => { innerValue: Ref<string, string>; editing: Ref<boolean, boolean>; enableEdit: () => void; handleKeydown: (e: KeyboardEvent) => void; };