toastr added
This commit is contained in:
19
config/flasher_toastr.php
Normal file
19
config/flasher_toastr.php
Normal 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
27
config/toastr.php
Normal 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(),
|
||||
);
|
Reference in New Issue
Block a user