actions

package
v0.0.0-...-d40b24e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2022 License: BSD-2-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Back

type Back struct {
}

Back button pressed. Navigate to previous page.

type Context

type Context struct {
	// Defines the current page.
	Page Page
	// Referrer contains information on last page visited.
	Referrer *Context
}

Context contains all information to completely define a page layout. It also has information on last page visited to enable the use of a "back" button. It is not an "action" item strictly speaking.

type NewItem

type NewItem struct {
	Item string
}

NewItem action.

type Page

type Page int
const (
	PageLanding Page = iota
	PageNewItem
)

type PageSelect

type PageSelect struct {
	Page Page
}

PageSelect Navigates view to new page.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL