mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add reload button released event
This commit is contained in:
parent
c7e4c00176
commit
fccc40cf66
1 changed files with 12 additions and 0 deletions
|
|
@ -92,6 +92,18 @@ class Tab
|
|||
);
|
||||
}
|
||||
);
|
||||
|
||||
$this->navigation->reload->button->connect(
|
||||
'released',
|
||||
function ($entry)
|
||||
{
|
||||
$this->navigate(
|
||||
$this->navigation->address->entry->get_text()
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// @TODO home, back, forward buttons
|
||||
}
|
||||
|
||||
public function navigate(string $url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue