mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-24 02:17:27 -04:00
open link events
This commit is contained in:
parent
1b80249b2b
commit
fb4b6e8d45
4 changed files with 33 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
|||
extends Resource
|
||||
class_name AppEvents
|
||||
|
||||
signal open_link(uri: String)
|
||||
signal open_link(url: String)
|
||||
|
||||
|
||||
func open_link_emit(uri: String) -> void:
|
||||
OS.shell_open(uri) # TODO: move somewhere else
|
||||
open_link.emit(uri)
|
||||
func open_link_emit(url: String) -> void:
|
||||
OS.shell_open(url) # TODO: move somewhere else
|
||||
open_link.emit(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue