Static
hide隐藏等待框
沈建(Janesen)
FastPlugin.Dialog.hideLoading(function(result){console.log(result)});
回调函数
Static
hide隐藏等待框
沈建(Janesen)
FastPlugin.Dialog.hideLoadingToUrl("www.baidu.com",function(result){console.log(result)});
指定tab页并且tab页面的地址包含urlPattern关键字
回调函数
Static
show显示对话框,注意此方法将通知所有页面,并且点击按钮或关闭对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showAlert("系统提醒","请您填写内容",function(result){console.log(result)});
标题
消息
回调函数
Static
show显示对话框,注意此方法将通知所有页面,并且不会等待用户操作对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showAlertTip("系统提醒","请您填写内容",1000,function(result){console.log(result)});
标题
消息
自动关闭时间,单位毫秒
回调函数
Static
show显示对话框,注意此方法不会要求用户点击按钮或关闭对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showAlertTipToUrl("www.baidu.com","系统提醒","请您填写内容",1000,function(result){console.log(result)});
指定tab页并且tab页面的地址包含urlPattern关键字
标题
消息
自动关闭时间,单位毫秒
回调函数
Static
show显示对话框,注意此方法要求用户点击按钮或关闭对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showAlertToUrl("www.baidu.com","系统提醒","请您填写内容",function(result){console.log(result)});
指定tab页并且tab页面的地址包含urlPattern关键字
标题
消息
回调函数
Static
show显示确认对话框,注意此方法将通知所有页面,并且点击按钮或关闭对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showConfirm("系统提醒","确定删除吗?",function(result){console.log(result)});
标题
消息
回调函数
Static
show显示确认对话框,注意此方法要求用户点击按钮或关闭对话框后回调
沈建(Janesen)
FastPlugin.Dialog.showConfirmToUrl("www.baidu.com","系统提醒","确定删除吗?",function(result){console.log(result)});
指定tab页并且tab页面的地址包含urlPattern关键字
标题
消息
Static
show显示等待框
沈建(Janesen)
FastPlugin.Dialog.showLoading("请稍候……",function(result){console.log(result)});
等待框消息
回调函数
Static
show显示等待框
沈建(Janesen)
FastPlugin.Dialog.showLoadingToUrl("www.baidu.com","请稍候……",function(result){console.log(result)});
指定tab页并且tab页面的地址包含urlPattern关键字
等待框消息
回调函数
对话框操作
Author
沈建(Janesen)