forgot navigate

This commit is contained in:
grngxd 2025-06-27 15:26:32 +01:00
parent a3791b599b
commit c95bafd34f
2 changed files with 7 additions and 1 deletions

View file

@ -9,7 +9,7 @@ Build modern, cross-platform desktop apps in HTML + Go from one codebase. It use
- ⚡**Fast development**: Use *ANY* web framework for your UI. Tiramisu handles all the magic of making it work, for you. - ⚡**Fast development**: Use *ANY* web framework for your UI. Tiramisu handles all the magic of making it work, for you.
## Installation ## Installation
`go install git.iwakura.rip/grng/tiramisu` `go get -u git.iwakura.rip/grng/tiramisu`
## Example ## Example

View file

@ -97,6 +97,12 @@ func (t *Tiramisu) HTML(html string) {
t.loadGoRuntime() t.loadGoRuntime()
} }
func (t *Tiramisu) Navigate(url string) {
t.w.Navigate(url)
t.loadJSRuntime()
t.loadGoRuntime()
}
//go:embed runtime/out/* //go:embed runtime/out/*
var runtimeFS embed.FS var runtimeFS embed.FS