Skip to content

Commit ddedeac

Browse files
committed
update docs about .filemanager() jQuery function
1 parent cb1eea2 commit ddedeac

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/integration.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Check `vendor/unisharp/laravel-filemanager/src/views/demo.blade.php`, which alre
1313
1. Install [laravel-ckeditor](https://github.com/UniSharp/laravel-ckeditor) package
1414

1515
1. Modify the views
16-
16+
1717
* Sample 1 - Replace by ID:
1818

1919
```html
@@ -123,3 +123,10 @@ If you are going to use filemanager independently, meaning set the value of an i
123123
```javascript
124124
$('#lfm').filemanager('file');
125125
```
126+
127+
Domain can be specified in the second parameter(optional, but will be required when developing on Windows mechines) :
128+
129+
```javascript
130+
var domain = "{{ url() }}";
131+
$('#lfm').filemanager('image', domain);
132+
```

0 commit comments

Comments
 (0)