UNPKG

y-taro-ui

Version:

基于taro的表单解决方案 & 基础组件

11 lines (10 loc) 664 B
import { CommonEvent } from '@tarojs/components'; export declare const isObject: (obj: any) => boolean; export declare const flatted: (promise: any) => any; export declare const chooseImage: (params: any) => any; export declare const showToast: (message: string, duration?: number) => void; export declare const showSuccess: (message: string) => void; export declare const showLoading: (message: string, duration?: number) => void; export declare const stopPropagation: (e: CommonEvent) => void; export declare const preventDefault: (e: CommonEvent, isStopPropagation?: boolean) => void; export declare function delay(delayTime?: number): Promise<null>;