add activate method

This commit is contained in:
yggverse 2024-04-10 05:30:14 +03:00
parent a1fa9f96e7
commit 07d38f42ca
2 changed files with 5 additions and 0 deletions

View file

@ -72,7 +72,10 @@ class Tab
true,
0
);
}
public function activate()
{
$this->navigation->address->entry->connect(
'activate',
function ($entry)

View file

@ -63,6 +63,8 @@ $window->connect(
$tab = new \Yggverse\Yoda\Box\Tab();
$tab->activate();
$window->add(
$tab->box
);