Skip to content

Commit e971082

Browse files
update README.md to reflect chnages to customize slide-over
1 parent 8363340 commit e971082

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,61 @@ return [
379379
'😡',
380380
];
381381
```
382+
383+
### Customize Slide-over dialog
384+
You can customize the display of slide-over dialog by changing many parameters in config file.
385+
386+
#### Customize display created date of comment
387+
Set as your preference the display format created date below username of a comment
388+
```php
389+
'format-created-date' => 'F j Y h:i:s A',
390+
```
391+
392+
#### Showing Header Section
393+
Show the title section
394+
```php
395+
'show-heading' => true,
396+
```
397+
Show the refresh button
398+
```php
399+
'show-refresh-button' => true,
400+
```
401+
> [!NOTE]
402+
> Combining `'show-heading' => false` with `'show-refresh-button' => false` remove header's section completely.
403+
404+
405+
#### Customization Badge Counter
406+
Show the badge counter
407+
```php
408+
'show-badge-counter' => true,
409+
```
410+
Customize color
411+
```php
412+
'badge-counter-color' => 'info',
413+
// 'danger', 'gray', 'info', 'success' or 'warning'
414+
```
415+
416+
#### Customization Refresh button
417+
Customize trigger style
418+
```php
419+
'style-refresh-button' => 'button',
420+
// 'button' or 'icon',
421+
```
422+
Customize icon
423+
```php
424+
'icon-refresh-button' => 'heroicon-m-sparkles',
425+
```
426+
427+
Customize color
428+
```php
429+
'color-refresh-button' => 'info',
430+
// 'danger', 'gray', 'info', 'success' or 'warning'
431+
```
432+
433+
Outlined button style
434+
```php
435+
'outlined-refresh-button' => false,
436+
```
382437
## Testing
383438

384439
```bash

0 commit comments

Comments
 (0)