Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
![]() |
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.
|
- ⚡**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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue