tabs

package module
v0.0.0-...-112467b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2017 License: MIT Imports: 6 Imported by: 1

README

tabs

material design lite tab component for vecty and gopherjs

demo https://wizenerd.github.io/tabs/

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bar

type Bar struct {
	vecty.Core
	Links    []*Link
	Children vecty.MarkupOrComponentOrHTML
}

func (*Bar) Render

func (b *Bar) Render() *vecty.HTML
type Link struct {
	vecty.Core
	ID       string
	Name     string
	IsActive bool
}

func (*Link) Render

func (l *Link) Render() *vecty.HTML

type Panel

type Panel struct {
	vecty.Core
	IsActive bool
	Name     string
	ID       string
	Children vecty.MarkupOrComponentOrHTML
}

func (*Panel) Activate

func (p *Panel) Activate()

func (*Panel) Render

func (p *Panel) Render() *vecty.HTML

type Tabs

type Tabs struct {
	vecty.Core
	IsJS     bool
	Rippled  bool
	Children vecty.MarkupOrComponentOrHTML
	Panels   []*Panel
	Bar      *Bar
	// contains filtered or unexported fields
}

func New

func New() *Tabs

func (*Tabs) Render

func (t *Tabs) Render() *vecty.HTML

func (*Tabs) Unmount

func (t *Tabs) Unmount()

Jump to

Keyboard shortcuts

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