ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Minimize.php
Go to the documentation of this file.
1 <?php
2 
20 
21 use ILIAS\UI\Component as C;
26 
27 class Minimize implements C\Button\Minimize
28 {
30  use ComponentHelper;
31  use Triggerer;
32 
36  public function withOnClick(Signal $signal)
37  {
38  return $this->withTriggeredSignal($signal, 'click');
39  }
40 
44  public function appendOnClick(Signal $signal)
45  {
46  return $this->appendTriggeredSignal($signal, 'click');
47  }
48 }
appendTriggeredSignal(C\Signal $signal, string $event)
Append a triggered signal to other signals of the same event.
Definition: Triggerer.php:47
withTriggeredSignal(C\Signal $signal, string $event)
Add a triggered signal, replacing any other signals registered on the same event. ...
Definition: Triggerer.php:62
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21