19 declare(strict_types=1);
    32 class Toast implements ComponentInterface\Toast
    79         $new->links[] = $link;
   117         $this->signal = $this->signal_generator->create();
 
withAdditionalLink(Link $link)
 
__construct($title, Icon $icon, SignalGeneratorInterface $signal_generator)
 
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...
 
withDescription(string $description)
 
SignalGeneratorInterface $signal_generator
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
initSignals()
Init the default signals.