UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

15 lines (14 loc) 471 B
import { ListDataItem, USEHandler } from './types'; import { ModelRef, Ref } from 'vue'; /** * 操作 */ export declare const useHandler: ({ props, emit, listData }: USEHandler.Option) => { listData: ModelRef<ListDataItem[]>; curNum: Ref<number, number>; isPreview: Ref<boolean, boolean>; onDelete: (e: Event, item: ListDataItem) => void; closePreview: () => void; onChange: (e: Event) => void; onPreview: ({ id }: ListDataItem) => void; };