3 declare(strict_types=1);
84 $new->links[] = $link;
122 $this->signal = $this->signal_generator->create();
withAdditionalLink(Link $link)
__construct($title, Icon $icon, SignalGeneratorInterface $signal_generator)
const DEFAULT_VANISH_TIME
This describes how an icon could be modified during construction of UI.
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...
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withVanishTime(int $vanishTime)
withDescription(string $description)
SignalGeneratorInterface $signal_generator
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withDelayTime(int $delayTime)
initSignals()
Init the default signals.