UNPKG

mine-h5-ui

Version:

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

18 lines (17 loc) 529 B
import { Props, CityItem, Emits, ListItem } from './types'; import { Ref, ComputedRef } from 'vue'; /** * 初始化数据 */ export declare const useScroll: (props: Required<Props>) => { curLetter: Ref<string, string>; listCont: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>; filterShow: ComputedRef<(index: number) => boolean>; onClickBadge: (item: ListItem, index: number) => void; }; /** * 按钮 */ export declare const useBtns: (emit: Emits) => { handleLi: (item: CityItem) => void; };