Compare commits

...

1 commit
v0.1.3 ... main

Author SHA1 Message Date
grngxd
c95bafd34f forgot navigate 2025-06-27 15:26:32 +01:00
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.
## Installation
`go install git.iwakura.rip/grng/tiramisu`
`go get -u git.iwakura.rip/grng/tiramisu`
## Example

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