UNPKG

z-paging

Version:

超简单、低耦合!使用wxs+renderjs实现。支持自定义下拉刷新、上拉加载更多、虚拟列表、下拉进入二楼、自动管理空数据图、无闪动聊天分页、本地分页、国际化等数百项配置

24 lines (23 loc) 527 B
/// <reference path="./comps.d.ts" /> declare module 'z-paging' { export function install() : void /** * z-paging全局配置 * - uni.$zp * * @since 2.6.5 */ interface $zp { /** * 全局配置 */ config : Record<string, any>; } global { interface Uni { $zp : $zp } } } declare type ZPagingSwiperRef = typeof import('./comps/z-paging-swiper')['ZPagingSwiperRef'] declare type ZPagingSwiperItemRef = typeof import('./comps/z-paging-swiper-item')['ZPagingSwiperItemRef']