Documentation
¶
Overview ¶
Package view provides local view that can be swapped in and out.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is responsible for showing the current view.
func ControllerOf ¶
func ControllerOf(c seed.Seed) Controller
ControllerOf returns the Controller for the given seed.
func (Controller) Back ¶
func (c Controller) Back() client.Script
Back changes to the back view in the List
func (Controller) Goto ¶
func (c Controller) Goto(view View) js.Script
Goto returns a script that goes to the given view.
func (Controller) Is ¶
func (c Controller) Is(v View) *clientside.Bool
Is returns true if the given view is the current view of the given controller..
func (Controller) Next ¶
func (c Controller) Next() client.Script
Next changes to the next view in the List
func (Controller) Reset ¶
func (c Controller) Reset() client.Script
Reset the controller to the default view.
func (Controller) Seed ¶
func (c Controller) Seed() seed.Seed
Click to show internal directories.
Click to hide internal directories.