customview

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: 10 Imported by: 0

Documentation

Overview

Package custom provides examples of how to import custom components.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomView

type CustomView struct {
	view.Embed
	Enabled  bool
	Value    bool
	OnSubmit func(value bool)
}

func NewCustomView

func NewCustomView() *CustomView

NewCustomView returns an initialized CustomView instance.

func (*CustomView) Build

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

Build implements view.View.

type View

type View struct {
	view.Embed
}

func NewView

func NewView() *View

func (*View) Build

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

Directories

Path Synopsis
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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