ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
dragHandle.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
25function dragHandle()
26{
27 global $DIC;
28 $f = $DIC->ui()->factory();
29 $renderer = $DIC->ui()->renderer();
30
31 $glyph = $f->symbol()->glyph()->dragHandle("#");
32
33 //Showcase the various states of this Glyph
34 $list = $f->listing()->descriptive([
35 "Active" => $glyph,
36 "Inactive" => $glyph->withUnavailableAction(),
37 "Highlighted" => $glyph->withHighlight()
38 ]);
39
40 return $renderer->render($list);
41}
$renderer
global $DIC
Definition: shib_login.php:26