mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add homepage button event
This commit is contained in:
parent
878b194e70
commit
c016227e9c
1 changed files with 11 additions and 1 deletions
|
|
@ -109,7 +109,17 @@ class Tab
|
|||
}
|
||||
);
|
||||
|
||||
// @TODO home, back, forward buttons
|
||||
$this->navigation->home->button->connect(
|
||||
'released',
|
||||
function ($entry)
|
||||
{
|
||||
$this->navigate(
|
||||
$this->config->homepage
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// @TODO back, forward buttons
|
||||
}
|
||||
|
||||
// Actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue