package main import ( "embed" "github.com/wailsapp/wails/v3/pkg/application" ) //go:embed frontend/* var assets embed.FS func main() { app := application.New(application.Options{ Name: "Intersection Observer Demo", Description: "Demonstrates the Intersection Observer API", Assets: application.AssetOptions{ Handler: application.BundledAssetFileServer(assets), }, }) app.Window.NewWithOptions(application.WebviewWindowOptions{ Title: "Intersection Observer Demo", Width: 800, Height: 600, URL: "/", }) app.Run() }