我已经写了下面的代码,我想打电话给在“取消”按钮代码: vm.saveGroup = function(){
SweetAlert.swal({
title: "Name this Device Group",
text: "Please provide a name that you want your device group to be saved unde
所以问题如下。我用Sweet Alert做了AlertService。我需要确认用户是否确定删除然后执行它。我有麻烦的回调上下文切换eventhough我使用箭头函数,也尝试过bind()。下面的代码: AlertService /**
* This is a generic confirmation alert.
* @param object the object with propert
我只是对我的代码感到困惑。但我真的认为我的代码是正确的。我试图在Laravel 5.1中使用with()方法,然后返回到视图,然后如果已设置的会话存在,则会显示甜蜜警报。请参阅我下面的代码: PageController.php return redirect()->route('list.view')->with('sweetalert', 'List has been created!');
负荷设定值在甜蜜的警报2,如何负载设置在输入 我甜蜜的警报代码值 swal({
title: 'Are you sure?',
text: "You are going to send emails from the system. Please confirm",
showCancelButton: true,
input:
我想知道我怎么可以只允许在这部分数字。 {
title: "Dollar Amount?",
text: "How much is your Dollar Question worth?",
inputPlaceholder: "Enter Amount"
}
我正在使用Sweetalert插件。它已经困扰了我好几天,我只是新的前端,我真的是一个完整的后