Help us shape the future of Go! Take the 2026 Go Developer Survey

components

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2018 License: BSD-3-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterButton

type FilterButton struct {
	vecty.Core

	Label  string            `vecty:"prop"`
	Filter model.FilterState `vecty:"prop"`
}

FilterButton is a vecty.Component which allows the user to select a filter state.

func (*FilterButton) Render

func (b *FilterButton) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type ItemView

type ItemView struct {
	vecty.Core

	Index int         `vecty:"prop"`
	Item  *model.Item `vecty:"prop"`
	// contains filtered or unexported fields
}

ItemView is a vecty.Component which represents a single item in the TODO list.

func (*ItemView) Key

func (p *ItemView) Key() interface{}

Key implements the vecty.Keyer interface.

func (*ItemView) Render

func (p *ItemView) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type PageView

type PageView struct {
	vecty.Core

	Items []*model.Item `vecty:"prop"`
	// contains filtered or unexported fields
}

PageView is a vecty.Component which represents the entire page.

func (*PageView) Render

func (p *PageView) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

Jump to

Keyboard shortcuts

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