Documentation
Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'
Listoutdent
Description
- Purpose
- The Outdent Glyph is used to define the gradation of a structured list. It leads to a decreased indentation and thus gives the impression of a superordinate level.
- Composition
- The Outdent List Glyph uses the glyphicon-listoutdent.
- Effect
- Clicking this glyph will outdent the content to the next superordinate level of the list.
- Context
- The Outdent List Glyph appears in the ILIAS Page Editor.
Rivals
- Indent Glyph
- The Indent Glyph will increase the indentation to the next subordinate level of the list.
Rules
- Accessibility
- The aria-label MUST be 'Decrease Indent'.
Example 1: Listoutdent
<?php declare(strict_types=1); namespace ILIAS\UI\examples\Symbol\Glyph\Listoutdent; function listoutdent() { global $DIC; $f = $DIC->ui()->factory(); $renderer = $DIC->ui()->renderer(); $glyph = $f->symbol()->glyph()->listoutdent("#"); //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