ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
dragHandle.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Symbol\Glyph\DragHandle
;
6
25
function
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
$renderer
Definition:
build_bootstrap.php:83
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Symbol\Glyph\DragHandle\dragHandle
dragHandle()
description: > Example for rendering a Drag Handle Glyph.
Definition:
dragHandle.php:25
ILIAS\UI\examples\Symbol\Glyph\DragHandle
Definition:
dragHandle.php:5
components
ILIAS
UI
src
examples
Symbol
Glyph
DragHandle
dragHandle.php
Generated on Sun Aug 31 2025 23:04:11 for ILIAS by
1.8.13 (using
Doxyfile
)