toastr added

This commit is contained in:
2024-04-04 13:31:19 +05:45
parent c969cdabcc
commit 2f839afe6b
15 changed files with 420 additions and 18 deletions

19
config/flasher_toastr.php Normal file
View File

@ -0,0 +1,19 @@
<?php
/*
* This file is part of the yoeunes/toastr package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
return array(
'scripts' => array(
'cdn' => array(
'https://cdn.jsdelivr.net/npm/jquery@3.6.3/dist/jquery.min.js',
'https://cdn.jsdelivr.net/npm/@flasher/flasher-toastr@1.2.4/dist/flasher-toastr.min.js',
),
'local' => array(
'/vendor/flasher/jquery.min.js',
'/vendor/flasher/flasher-toastr.min.js',
),
),
);

27
config/toastr.php Normal file
View File

@ -0,0 +1,27 @@
<?php
/*
* This file is part of the yoeunes/toastr package.
* (c) Younes KHOUBZA <younes.khoubza@gmail.com>
*/
return array(
/*
|--------------------------------------------------------------------------
| Toastr options
|--------------------------------------------------------------------------
|
| Here you can specify the options that will be passed to the toastr.js
| library. For a full list of options, visit the documentation.
|
| Example:
| 'options' => [
| 'closeButton' => true,
| 'debug' => false,
| 'newestOnTop' => false,
| 'progressBar' => true,
| ],
*/
'options' => array(),
);