UNPKG

@hocgin/taro-kit

Version:
31 lines (30 loc) 841 B
import { LangKit as _LangKit } from "@hocgin/hkit"; export declare class LangKit extends _LangKit { /** * 获取 url 参数自动编码 * @param url * @returns {string} */ static getUrl(url: any): any; static isBrowser(): boolean; static isAndroid(): boolean; static isIOS(): boolean; static getSystemInfo(): any; /** * 获取 appbar 的高度 */ static getAppBarHeight(): any; static rem(v: any): any; static createShare(e?: any, title?: string): { title: string; path: string; }; /** * 版本是否合规 * @param serverVersion * @param appVersion * @deprecated 废弃 可以用通用版本的 */ static passVersion(serverVersion: string, appVersion: string): boolean; static versionToArray(v: any): string[]; }