ダイアログボタンの一種になるようにToastr jsをセットアップしようとしています。
必要なのは、Toastr メッセージの「承認」ボタンと「否認」ボタンだけです
toastr.options = {
"closeButton": true,
"debug": false,
"positionClass": "toast-bottom-left",
"onclick": null,
"showDuration": "1000",
"hideDuration": "1000",
"timeOut": "5000",
"extendedTimeOut": "1000",
"showEasing": "swing",
"hideEasing": "linear",
"showMethod": "fadeIn",
"hideMethod": "fadeOut"
}
toastr.info("Do you wish to continue");
それが可能かどうか、またはそれを可能にする他のスクリプトを知っている人はいますか?
ご注意ください
これは Modal で実行できることはわかっていますが、回避したいと思います。