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 249d5d9 commit f5a22fdCopy full SHA for f5a22fd
src/Widgets/TreeView/TreeView.php
@@ -71,11 +71,13 @@ public function onSelect(callable $callback): static
71
72
public function onOpen(callable $callback): static
73
{
74
+ $this->bind('<<TreeviewOpen>>', fn () => $callback($this));
75
return $this;
76
}
77
78
public function onClose(callable $callback): static
79
80
+ $this->bind('<<TreeviewClose>>', fn () => $callback($this));
81
82
83
0 commit comments