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

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