mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
add activate method
This commit is contained in:
parent
a1fa9f96e7
commit
07d38f42ca
2 changed files with 5 additions and 0 deletions
|
|
@ -72,7 +72,10 @@ class Tab
|
|||
true,
|
||||
0
|
||||
);
|
||||
}
|
||||
|
||||
public function activate()
|
||||
{
|
||||
$this->navigation->address->entry->connect(
|
||||
'activate',
|
||||
function ($entry)
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ $window->connect(
|
|||
|
||||
$tab = new \Yggverse\Yoda\Box\Tab();
|
||||
|
||||
$tab->activate();
|
||||
|
||||
$window->add(
|
||||
$tab->box
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue