0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SweetAlert2

Posted at

利用目的 : 履歴一括削除 / ユーザー情報のアカ消したい時の警告表示

Swal.fire({
  title: '本当に削除しますか?',
  text: "一度削除すると元に戻せません!",
  icon: 'warning',
  showCancelButton: true,
  confirmButtonText: 'はい、削除します',
  cancelButtonText: 'キャンセル'
}).then((result) => {
  if (result.isConfirmed) {
    // 削除処理をここに書く
  }
});
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?