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.
Click to show internal directories.
Click to hide internal directories.