Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Updated docs
  • Loading branch information
thethunderturner authored Dec 5, 2023
1 parent 6172a00 commit b6245eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,17 @@ protected function headerActions(): array

Follow the [Filament Docs](https://filamentphp.com/docs/3.x/widgets/adding-a-widget-to-a-blade-view) to know how to add the widget to a Blade view.

## Return active grid data

You can get the currently active grid data and view using the function `getActiveGrid($data))`. For more information about the contents of the parameter, visit [FullCalendar Docs](https://fullcalendar.io/docs/datesSet)

```php
public function getActiveGrid($data)
{
// Up to you
}
```

## Share your tricks

If you have any tricks that you want to share, please open a PR and add it to this section.
Expand Down

0 comments on commit b6245eb

Please sign in to comment.