Documentation ¶
Overview ¶
Package page provides global pages that can be swapped in and out.
Index ¶
- func AddPages(pages ...Page) seed.Option
- func GoBack() js.Script
- func Harvest(starting Page) seed.Option
- func ID(p Page) string
- func Is(p Page) *clientside.Bool
- func New(options ...seed.Option) seed.Seed
- func OnEnter(f ...client.Script) seed.Option
- func OnExit(f ...client.Script) seed.Option
- func Refresh() js.Script
- func Set(page Page) seed.Option
- func SetPath(path string) seed.Option
- func SetTitle(title string) seed.Option
- type EnterIfOption
- type Page
- type Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EnterIfOption ¶
type EnterIfOption struct {
// contains filtered or unexported fields
}
func EnterIf ¶
func EnterIf(condition js.AnyBool) EnterIfOption
func (EnterIfOption) AddTo ¶
func (e EnterIfOption) AddTo(c seed.Seed)
Click to show internal directories.
Click to hide internal directories.