Documentation
¶
Overview ¶
Package web provides the browser document around an NSGo app. Its components render nothing and do nothing on native targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Head ¶
type Head struct {
Title string
TitleFunc func() string
Description string
DescriptionFunc func() string
}
Head sets the document's metadata while its owner is visible. The latest mounted Head wins for each field it sets, restoring the earlier one when hidden or removed. An embedded app leaves its host's document alone. An empty static field inherits; a function returning empty clears it.