ul

package
v0.0.0-...-570bcb6 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ItemDivider

func ItemDivider() vecty.ComponentOrHTML

func ItemDividerInset

func ItemDividerInset() vecty.ComponentOrHTML

func ListDivider

func ListDivider() vecty.ComponentOrHTML

func ListDividerInset

func ListDividerInset() vecty.ComponentOrHTML

Types

type Group

type Group struct {
	*base.MDC
	vecty.Core
	Root  vecty.MarkupOrChild
	Lists []vecty.ComponentOrHTML
}

Group is a vecty-material list-group component.

func (*Group) Apply

func (c *Group) Apply(h *vecty.HTML)

func (*Group) Render

func (c *Group) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type Item

type Item struct {
	*base.MDC
	vecty.Core
	Root      vecty.MarkupOrChild
	Primary   vecty.ComponentOrHTML
	Secondary vecty.ComponentOrHTML
	Graphic   vecty.ComponentOrHTML
	Meta      vecty.ComponentOrHTML
	Selected  bool
	Activated bool
	OnClick   func(i *Item, e *vecty.Event)
	Href      string
}

Item is a vecty-material list-item component.

func (*Item) Apply

func (c *Item) Apply(h *vecty.HTML)

func (*Item) Render

func (c *Item) Render() vecty.ComponentOrHTML

Render implements the vecty.Component interface.

type L

type L struct {
	*base.MDC
	vecty.Core
	Root           vecty.MarkupOrChild
	Items          []vecty.ComponentOrHTML
	Dense          bool
	Avatar         bool
	NonInteractive bool
	OnClick        func(thisL *L, thisI *Item, e *vecty.Event)
	GroupSubheader string
	// contains filtered or unexported fields
}

L is a vecty-material list component.

func (*L) Apply

func (c *L) Apply(h *vecty.HTML)

func (*L) Render

func (c *L) 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