UNPKG

@tarojs/taro-h5

Version:
11 lines (10 loc) 825 B
import Taro from '@tarojs/api'; declare const showToast: typeof Taro.showToast; declare const hideToast: typeof Taro.hideToast; declare const showLoading: typeof Taro.showLoading; declare const hideLoading: typeof Taro.hideLoading; declare const showModal: typeof Taro.showModal; declare const showActionSheet: typeof Taro.showActionSheet; declare const enableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>; declare const disableAlertBeforeUnload: (option?: {}, ...args: any[]) => Promise<Partial<TaroGeneral.CallbackResult> & Record<string, unknown> & TaroGeneral.CallbackResult>; export { disableAlertBeforeUnload, enableAlertBeforeUnload, hideLoading, hideToast, showActionSheet, showLoading, showModal, showToast };