vh-plugin
Version:
轻量级JS插件包
18 lines (16 loc) • 784 B
text/typescript
// Function
import { showLoading, hideLoading } from "./function/Loading";
import { Toast } from "./function/Toast";
// TOOLS
import { check } from "./tools/Check";
import { CopyText } from "./tools/CopyText";
import { Debounce } from "./tools/Debounce";
import { getUrlParams } from "./tools/GetUrlParams";
import { getUrlParamsJson } from "./tools/GetUrlParamsJson";
import { jsonToUrlParams } from "./tools/JsonToUrlParams";
import { Throttle } from "./tools/Throttle";
import { TimeFormat } from "./tools/TimeFormat";
import { OneKey } from "./tools/OneKey";
import { OpenURL } from "./tools/OpenURL";
// 导出
export default { showLoading, hideLoading, Toast, CopyText, Debounce, Throttle, getUrlParams, getUrlParamsJson, jsonToUrlParams, TimeFormat, OneKey, OpenURL, check };