mine-h5-ui
Version:
一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍
19 lines (18 loc) • 454 B
TypeScript
import { Emits, USEBtns } from './types';
/**
* 搜索框
*/
export declare const useSearch: (emit: Emits) => {
onKeypress: (e: KeyboardEvent) => void;
onFocus: (e: FocusEvent) => void;
onBlur: (e: FocusEvent) => void;
onInput: (e: Event) => void;
onChange: (e: Event) => void;
};
/**
* 操作按钮
*/
export declare const useBtns: ({ emit, inputVal }: USEBtns.Option) => {
onClean: () => void;
handleBtn: () => void;
};