Skip to content

Commit

Permalink
Update Tree.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelar committed Aug 19, 2024
1 parent 13dbd97 commit 6680463
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Component/Tree.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6680463

Please sign in to comment.