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, MIT Imports: 2 Imported by: 0

Documentation

Overview

tabbar implements a material tabbar component.

See: https://material.io/components/web/catalog/tabbar/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TB

type TB struct {
	// contains filtered or unexported fields
}

TB is a material tabbar component.

func New

func New() *TB

New returns a new component.

func (*TB) Component

func (c *TB) Component() *base.Component

Component returns the component's underlying base.Component.

func (*TB) Start

func (c *TB) Start(rootElem js.Value) error

Start initializes the component with an existing HTBMLElement, rootElem. Start should only be used on a newly created component, or after calling Stop.

func (*TB) StateMap

func (c *TB) StateMap() base.StateMap

StateMap implements the base.StateMapper interface.

func (*TB) Stop

func (c *TB) Stop() error

Stop removes the component's association with its HTBMLElement and cleans up event listeners, etc.

Jump to

Keyboard shortcuts

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