File tree 1 file changed +14
-3
lines changed 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ Total Downloads] ( https://img.shields.io/packagist/dt/solutionforest/filament-simplelightbox.svg?style=flat-square )] ( https://packagist.org/packages/solutionforest/filament-simplelightbox )
7
7
8
8
9
-
10
- Does not rely on any third-party JavaScript libraries.
9
+ Lightbox Javascript : [ fslightbox ] ( https://github.com/banthagroup/fslightbox " fslightbox ")
10
+ Pdf and Office previewer [ information ] ( https://gist.github.com/theel0ja/b9e44a961f892ccf43e217ab74b9417b " information ")
11
11
12
12
## Installation
13
13
@@ -24,10 +24,21 @@ Tables\Columns\ImageColumn::make('image')
24
24
->simpleLightbox()
25
25
```
26
26
27
+ ``` php
28
+ Tables\Columns\TextColumn::make('pdf_url')
29
+ ->simpleLightbox("Your Url address"),
30
+ ```
31
+
32
+ ## Preview
33
+
27
34
28
35
29
- https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/67751495-cdd0-4999-a375-8636ae56b0eb
36
+ https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/8bd7b59f-d18b-4f58-911f-822f10cb879b
30
37
38
+ ![ image_preview] ( https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/5360c521-1dba-4dd5-88df-cffae21f5b62 )
39
+ ![ url_preview] ( https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/698cc9f0-11ce-4106-832b-f58ce83a36e3 )
40
+ ![ docx_preview] ( https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/7891ad1e-a601-47b5-ac0f-ba0ba7b85554 )
41
+ ![ pptx_preview] ( https://github.com/solutionforest/Filament-SimpleLightBox/assets/68211972/64cf6bae-d349-4e02-a6e1-a646abd5d508 )
31
42
32
43
33
44
## Testing
You can’t perform that action at this time.
0 commit comments