2023-06-15 08:48:13 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Add an additional second for every 100th word of the toast messages.
|
|
|
|
*
|
|
|
|
* Supported: true | false
|
|
|
|
*/
|
|
|
|
'accessibility' => true,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The vertical alignment of the toast container.
|
|
|
|
*
|
|
|
|
* Supported: "bottom", "middle" or "top"
|
|
|
|
*/
|
|
|
|
'alignment' => 'top',
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Allow users to close toast messages prematurely.
|
|
|
|
*
|
|
|
|
* Supported: true | false
|
|
|
|
*/
|
|
|
|
'closeable' => true,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The on-screen duration of each toast.
|
|
|
|
*
|
|
|
|
* Minimum: 3000 (in milliseconds)
|
|
|
|
*/
|
2023-09-30 13:08:40 +00:00
|
|
|
'duration' => 5000,
|
2023-06-15 08:48:13 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The horizontal position of each toast.
|
|
|
|
*
|
|
|
|
* Supported: "center", "left" or "right"
|
|
|
|
*/
|
2023-09-15 13:34:25 +00:00
|
|
|
'position' => 'center',
|
2023-06-15 08:48:13 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Whether messages passed as translation keys should be translated automatically.
|
|
|
|
*
|
|
|
|
* Supported: true | false
|
|
|
|
*/
|
|
|
|
'translate' => true,
|
|
|
|
];
|