We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 555729a commit ff68ab8Copy full SHA for ff68ab8
Ajax/common/components/SimpleExtComponent.php
@@ -2,7 +2,6 @@
2
3
namespace Ajax\common\components;
4
5
-use Ajax\common\components\SimpleComponent;
6
use Ajax\common\JsCode;
7
8
class SimpleExtComponent extends SimpleComponent {
@@ -11,6 +10,7 @@ class SimpleExtComponent extends SimpleComponent {
11
10
12
public function addEvent($event, $jsCode) {
13
$this->events [$event]=$jsCode;
+ return $this;
14
}
15
16
public function getScript() {
0 commit comments