19 declare(strict_types=1);
36 $f = $DIC->ui()->factory();
40 $image_in_modal =
$f->image()->standard(
41 "assets/ui-examples/images/Image/mountains.jpg",
44 $page =
$f->modal()->lightboxImagePage($image_in_modal,
"Nice view");
45 $modal =
$f->modal()->lightbox($page);
47 $image =
$f->image()->standard(
48 "assets/ui-examples/images/Image/HeaderIconLarge.svg",
50 )->withAction($modal->getShowSignal());
52 $html =
$renderer->render([$image, $modal]);
with_signal_action()
description: > Example for rendering an Image with a signal as action