forgot navigate
This commit is contained in:
parent
a3791b599b
commit
c95bafd34f
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue