7 use \ILIAS\UI\Component\Counter\Counter;
This describes how a glyph could be modified during construction of UI.
This tags a counter object.
getCounters()
Get all counters attached to this glyph.
withHighlight()
Get a Glyph like this with a highlight.
A component is the most general form of an entity in the UI.
getType()
Get the type of the glyph.
isActive()
Get to know if the glyph is activated.
getAction()
Get the action on the glyph.
withCounter(Counter $counter)
Get a glyph like this, but with a counter on it.
withUnavailableAction()
Get a glyph like this, but action should be unavailable atm.
isHighlighted()
Returns whether the Glyph is highlighted.
Interface to be extended by components that have the possibility to bind to Javascript.