3 declare(strict_types=1);
    22     $f = $DIC->ui()->factory();
    29         'default_option' => 
'Default',
    30         'latest' => 
'Most Recent',
    35     $select_option = 
'default_option';
    41     $modal = 
$f->modal()->lightbox(
$f->modal()->lightboxTextPage(
'Note: This is just used to show case, how     42         this control can be used,to change an other components content.', 
"Sortation has changed: " . $options[$select_option]));
    43     $s = 
$f->viewControl()->sortation($options, $select_option)
    44             ->withTargetURL($DIC->http()->request()->getRequestTarget(), 
'sortation')
    45             ->withOnSort($modal->getShowSignal());
 
async()
 description: > Async example show-casing how this control can be used, without reloading the page ...