6 $renderer = $DIC->ui()->renderer();
26 'How I Met Your Mother',
28 $list = $renderer->render(
$factory->listing()->unordered($series));
35 $content =
"<div style='max-height: 200px; overflow-y: auto; padding-right: 10px;'>{$list}</div>";
37 $popover =
$factory->popover()->standard(
$factory->legacy($content))->withTitle(
'Series');
38 $button =
$factory->button()->standard(
'Show me some Series',
'#')
39 ->withOnClick($popover->getShowSignal());
41 return $renderer->render([$popover, $button]);
if(isset($_REQUEST['delete'])) $list