You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/**
|
|
* @file 分享
|
|
*/
|
|
declare namespace my {
|
|
interface IHideShareMenuOptions {
|
|
/**
|
|
* 调用成功的回调函数
|
|
*/
|
|
success?(): void;
|
|
|
|
/**
|
|
* 分享失败的回调函数
|
|
*/
|
|
fail?(): void;
|
|
|
|
/**
|
|
* 调用结束的回调函数(调用成功、失败都会执行)
|
|
*/
|
|
complete?(): void;
|
|
}
|
|
|
|
/**
|
|
* 隐藏分享按钮。
|
|
*/
|
|
function hideShareMenu(options?: IHideShareMenuOptions): void;
|
|
}
|
|
|