19 declare(strict_types=1);
36 $factory = $DIC->ui()->factory();
48 $content = $factory->legacy()->content(
'This text is rendered async');
53 $async_url =
$_SERVER[
'REQUEST_URI'] .
'&renderPopoverAsync=1';
54 $popover = $factory->popover()->standard($factory->legacy()->content(
''))
56 ->withAsyncContentUrl($async_url);
57 $button = $factory->button()->standard(
'Show Popover',
'#')
58 ->withOnClick($popover->getShowSignal());
60 return $renderer->render([$popover, $button]);
show_popover_with_async_loaded_content()
description: > Example for rendering a standard popover with asynchronous loaded content...
exit
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...