From 6680463db1304402fca950a39c95103de2370bee Mon Sep 17 00:00:00 2001 From: Alain Belair Date: Mon, 19 Aug 2024 10:00:13 -0400 Subject: [PATCH] Update Tree.php --- src/Component/Tree.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Component/Tree.php b/src/Component/Tree.php index 95a8af5..ae82f4d 100644 --- a/src/Component/Tree.php +++ b/src/Component/Tree.php @@ -104,6 +104,10 @@ public function setValue(array $value): void $this->nodeValue = $value; } + /** + * Function $fx to be executed when using Save Btn. + * The callback function ($fx) must return a jsRenderInterface. + */ public function onTreePost(\Closure $fx, Button $btn = null): void { $this->initTreePostRequest($fx);