UPDATE-RATE

Die Test-Installation wird aktuell zwischen 8:00 und 18:00 Uhr stündlich zur vollen Stunde aktualisiert.

Alles neu macht der Mai

ILIAS 9 ist da! Alle Infos zu den Highlights der neuen Version gibt es hier!

Documentation

Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'

Down

Description

Purpose
The Down Glyph allows for manually arranging rows in tables embedded in forms. It allows moving an item down.
Composition
The Down Glyph uses the glyphicon-circle-arrow-down. The Down Glyph can be combined with the Add/Remove Glyph.
Effect
Clicking on the Down Glyph moves an item down.
Context
  1. Moving answers up in Survey matrix questions.

Rules

Usage
  1. The Down Glyph MUST NOT be used to sort tables. There is an established sorting control for that.
  2. The Down Glyph SHOULD not come without an Up Glyph and vice versa.
  3. The Down Glyph is an action and SHOULD be listed in the action column of a form.
Accessibility
  1. The aria-label MUST be ‘Down'.

Example 1: Down

Active
Inactive
Highlighted
<?php
 
declare(strict_types=1);
 
namespace ILIAS\UI\examples\Symbol\Glyph\Down;
 
function down()
{
    global $DIC;
    $f = $DIC->ui()->factory();
    $renderer = $DIC->ui()->renderer();
 
    $glyph = $f->symbol()->glyph()->down("#");
 
    //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
  1. UIComponent
  2. Symbol
  3. Glyph