19declare(strict_types=1);
27use ILIAS\UI\Implementation\Component\ComponentHelper;
79 $new->links[] = $link;
117 $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...
withAdditionalLink(Link $link)
__construct($title, Icon $icon, SignalGeneratorInterface $signal_generator)
SignalGeneratorInterface $signal_generator
withDescription(string $description)
initSignals()
Init the default signals.
This describes how an icon could be modified during construction of UI.
trait JavaScriptBindable
Trait for components implementing JavaScriptBindable providing standard implementation.