From 2ba40b2244c4e19515107771f9bd67188ea474ae Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Wed, 20 Oct 2021 22:22:12 +0200 Subject: [PATCH] add options --- docs/settings/global.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/settings/global.md b/docs/settings/global.md index 90fa22d..2d31eed 100644 --- a/docs/settings/global.md +++ b/docs/settings/global.md @@ -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