19declare(strict_types=1);
25use ILIAS\GlobalScreen\Scope\MainMenu\Collector\Renderer\Hasher;
43 $ui_notification_item = $item->getNotificationItem();
45 if ($item->hasClosedCallable()) {
49 return $ui_notification_item;
Class AbstractBaseNotificationRenderer.
buildCloseQuery(isItem $item)
Class StandardNotificationGroupRenderer.
getNotificationComponentForItem(isItem $item)
attachJSCloseEvent(Notification $ui_notification_item, isItem $item)
Attaches on load code for communicating back, that the notification has been closed.
Interface NotificationRenderer Every Notification should have a renderer, if you won't provide on in ...
A component is the most general form of an entity in the UI.
withCloseAction(string $url)
Get an Item like this with an url to consulted async, when to close button is pressed.