3declare(strict_types=1);
27use ILIAS\UI\Implementation\Component\ComponentHelper;
84 $new->links[] = $link;
122 $this->signal = $this->signal_generator->create();
getShowSignal()
Get the signal to show this toast in the frontend.
withAction(string $action)
Create a copy of this toast with an url, which is called asynchronous when the user interact with the...
const DEFAULT_VANISH_TIME
withAdditionalLink(Link $link)
__construct($title, Icon $icon, SignalGeneratorInterface $signal_generator)
SignalGeneratorInterface $signal_generator
withDelayTime(int $delayTime)
withVanishTime(int $vanishTime)
withDescription(string $description)
initSignals()
Init the default signals.
This describes how an icon could be modified during construction of UI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.