Skip to content

Commit 0642fca

Browse files
committed
add info about Closure in options to README
1 parent 902b06c commit 0642fca

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,12 @@ or anonymous function which return array of items and has the following signatur
101101
function($data) {}
102102
```
103103

104-
**options** *array*: the HTML attributes for the input
104+
**options** *array*|*Closure*: the HTML attributes for the input, you can set it as array
105+
or an anonymous function with the following signature:
106+
107+
```php
108+
function($data) {}
109+
```
105110

106111
**headerOptions** *array*: the HTML attributes for the header cell
107112

0 commit comments

Comments
 (0)