Documentation
Kitchen Sink documentation of style: 'Delos' of skin: 'ILIAS'
Calendar
Description
- Purpose
- The Calendar glyph is used to symbolize date-related actions or alerts.
- Composition
- The Calendar Glyph uses the glyphicon-calendar.
- Effect
- Clicking the calendar Glyph will usually open a date-picker.
- Context
- Use in conjunction with Date-Inputs.
Rules
- Accessibility
- The aria-label MUST be 'Calendar'.
Example 1: Calendar
<?php declare(strict_types=1); namespace ILIAS\UI\examples\Symbol\Glyph\Calendar; function calendar() { global $DIC; $f = $DIC->ui()->factory(); $renderer = $DIC->ui()->renderer(); $glyph = $f->symbol()->glyph()->calendar("#"); //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