Skip to content

Commit 43f5e4f

Browse files
committed
Return value explanation.
1 parent 0d12fc7 commit 43f5e4f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ You can customize a collapsed state of the node. If you would like to show your
323323
```php
324324
public function getNodeCollapsedState(?\Illuminate\Database\Eloquent\Model $record = null): bool
325325
{
326-
return false;
326+
// All tree nodes will be collapsed by default.
327+
return true;
327328
}
328329
```
329330

0 commit comments

Comments
 (0)