📜  swal 火灾类型 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:16.858000             🧑  作者: Mango

代码示例1
swal({
  title: "Are you sure?",
  text: "Your will not be able to recover this imaginary file!",
  type: "danger",
  showCancelButton: true,
  confirmButtonClass: "btn-danger",
  confirmButtonText: "Yes, delete it!",
  closeOnConfirm: false
},
function(){
  swal("Deleted!", "Your imaginary file has been deleted.", "success");
});