ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
JavaScriptBindable.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4 
5 namespace ILIAS\UI\Component;
6 
12 {
43  public function withOnLoadCode(\Closure $binder);
44 
54  public function withAdditionalOnLoadCode(\Closure $binder);
55 
61  public function getOnLoadCode();
62 }
getOnLoadCode()
Get the currently bound on load code.
withAdditionalOnLoadCode(\Closure $binder)
Add some onload-code to the component instead of replacing the existing one.