Documentation
Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'
Close
Description
- Purpose
- The Close Glyph is used to symbolize an action that closes something or leaves a previously initiated context.
- Composition
- The Close Glyph uses the glyphicon-remove.
- Effect
- Clicking the Close Glyph will close an overlay or change the view.
Rules
- Accessibility
- The aria-label MUST be 'Close'.
Example 1: Close
<?php declare(strict_types=1); namespace ILIAS\UI\examples\Symbol\Glyph\Close; function close() { global $DIC; $f = $DIC->ui()->factory(); $renderer = $DIC->ui()->renderer(); $glyph = $f->symbol()->glyph()->close("#"); //Showcase the various states of this Glyph $list = $f->listing()->descriptive([ "Active" => $glyph, "Inactive" => $glyph->withUnavailableAction(), "Highlighted" => $glyph->withHighlight() ]); return $renderer->render($list); }
Relations
- Parents
- UIComponent
- Symbol
- Glyph