Browse Source

add activate method

main
yggverse 3 months ago
parent
commit
07d38f42ca
  1. 3
      src/Box/Tab.php
  2. 2
      src/Yoda.php

3
src/Box/Tab.php

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

2
src/Yoda.php

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

Loading…
Cancel
Save