view

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package imageview provides examples of how to use the matcha/view packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reverse

func Reverse(s string) string

Types

type AddRemoveView

type AddRemoveView struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewAddRemoveView

func NewAddRemoveView() *AddRemoveView

func (*AddRemoveView) Build

func (v *AddRemoveView) Build(ctx view.Context) view.Model

type ButtonView

type ButtonView struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewButtonView

func NewButtonView() *ButtonView

func (*ButtonView) Build

func (v *ButtonView) Build(ctx view.Context) view.Model

type ImageView

type ImageView struct {
	view.Embed
}

func NewImageView

func NewImageView() *ImageView

func (*ImageView) Build

func (v *ImageView) Build(ctx view.Context) view.Model

type ProgressView

type ProgressView struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewProgressView

func NewProgressView() *ProgressView

func (*ProgressView) Build

func (v *ProgressView) Build(ctx view.Context) view.Model

type ScrollView

type ScrollView struct {
	view.Embed
}

func NewScrollView

func NewScrollView() *ScrollView

func (*ScrollView) Build

func (v *ScrollView) Build(ctx view.Context) view.Model

type Slider

type Slider struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewSlider

func NewSlider() *Slider

func (*Slider) Build

func (v *Slider) Build(ctx view.Context) view.Model

type SwitchView

type SwitchView struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewSwitchView

func NewSwitchView() *SwitchView

func (*SwitchView) Build

func (v *SwitchView) Build(ctx view.Context) view.Model

type TableCell

type TableCell struct {
	view.Embed
}

func NewTableCell

func NewTableCell() *TableCell

func (*TableCell) Build

func (v *TableCell) Build(ctx view.Context) view.Model

type TextView

type TextView struct {
	view.Embed
	// contains filtered or unexported fields
}

func NewTextView

func NewTextView() *TextView

func (*TextView) Build

func (v *TextView) Build(ctx view.Context) view.Model

func (*TextView) Lifecycle

func (v *TextView) Lifecycle(from, to view.Stage)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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