package gonexapp import ( _ "embed" "html/template" ) //go:embed dialog.js var dialogJS string // DialogHTML is the Dialog markup and script for an ExApp page. // App navigation includes it. A page the ExApp renders itself inserts the // same fragment. The page then calls exappDialog.message, exappDialog.confirm, // or exappDialog.prompt and waits for the user's choice. func DialogHTML() template.HTML { return template.HTML(dialogStyle + dialogMarkup + "") } const dialogStyle = `` const dialogMarkup = `

`