mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Update docs
This commit is contained in:
@@ -272,6 +272,15 @@ Now, in the view file, you can render the action button by calling `getModalActi
|
||||
</div>
|
||||
```
|
||||
|
||||
## Adding extra attributes to modal container
|
||||
|
||||
You may also pass extra HTML attributes to the modal container using `extraModalAttributes()`:
|
||||
|
||||
```php
|
||||
Action::make('updateAuthor')
|
||||
->extraModalAttributes(['class' => 'update-author-modal'])
|
||||
```
|
||||
|
||||
## Using a slide-over instead of a modal
|
||||
|
||||
You can open a "slide-over" dialog instead of a modal by using the `slideOver()` method:
|
||||
|
||||
Reference in New Issue
Block a user