UNPKG

xx-common

Version:

the functions of yd common

24 lines (23 loc) 812 B
declare function commonShare(shareObj: any, cbFun: () => void): Promise<void>; declare function AccessWeixinShare(currentUrl: string): Promise<any>; /** * 增加二次分享 * * */ declare function addWeixinShareSpecifyInfoV2(shareObj: { [x: string]: any; }): Promise<void>; /** * 点击右上角分享 客户端调用此方法获得分享信息 */ declare function MetaShareInfo(): void; declare function iosIframeLocalCall(url: string): void; declare function onShare(that: { [funName: string]: any; }): void; declare function setSimpleShare(shareObj: any, cbFun: { (): void; (): void; }): Promise<void>; declare function onYdShareCb(): void; export { iosIframeLocalCall, addWeixinShareSpecifyInfoV2, commonShare, onShare, setSimpleShare, MetaShareInfo, AccessWeixinShare, onYdShareCb, };