tabbar

package
v0.0.0-...-1bbb42b Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T struct {
	Label  vecty.ComponentOrHTML
	Markup vecty.MarkupList
}

type TB

type TB struct {
	*base.MDC
	vecty.Core
	Root     vecty.MarkupOrChild `vecty:"prop"`
	Tabs     []*T                `vecty:"prop"`
	Active   uint                `vecty:"prop"`
	OnChange func(index int)     `vecty:"prop"`
}

TB is a vecty-material tabbar component.

func (*TB) Apply

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

func (*TB) Render

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