add options

This commit is contained in:
Simon Vieille 2021-10-20 22:22:12 +02:00
commit 2ba40b2244

View file

@ -127,3 +127,15 @@ class FooController
You can also edit them from UI:
![](/_static/img/settings/01.png)
## Options
You can add options using this way:
```
$event->setOption('view', 'large');
```
Available options:
* `view` (default: `false`): show a large modal