From e9710827b1686c121edfa3b1fc521cd98a051ccc Mon Sep 17 00:00:00 2001 From: Agence Twogether Date: Mon, 7 Jul 2025 23:20:26 +0200 Subject: [PATCH] update README.md to reflect chnages to customize slide-over --- README.md | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/README.md b/README.md index 99ce38c..379aad8 100644 --- a/README.md +++ b/README.md @@ -379,6 +379,61 @@ return [ '😡', ]; ``` + +### Customize Slide-over dialog +You can customize the display of slide-over dialog by changing many parameters in config file. + +#### Customize display created date of comment +Set as your preference the display format created date below username of a comment +```php +'format-created-date' => 'F j Y h:i:s A', +``` + +#### Showing Header Section +Show the title section +```php +'show-heading' => true, +``` +Show the refresh button +```php +'show-refresh-button' => true, +``` +> [!NOTE] +> Combining `'show-heading' => false` with `'show-refresh-button' => false` remove header's section completely. + + +#### Customization Badge Counter +Show the badge counter +```php +'show-badge-counter' => true, +``` +Customize color +```php +'badge-counter-color' => 'info', +// 'danger', 'gray', 'info', 'success' or 'warning' +``` + +#### Customization Refresh button +Customize trigger style +```php +'style-refresh-button' => 'button', +// 'button' or 'icon', +``` +Customize icon +```php +'icon-refresh-button' => 'heroicon-m-sparkles', +``` + +Customize color +```php +'color-refresh-button' => 'info', +// 'danger', 'gray', 'info', 'success' or 'warning' +``` + +Outlined button style +```php +'outlined-refresh-button' => false, +``` ## Testing ```bash