icontoggle

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IT

type IT struct {
	*base.MDC
	vecty.Core
	Root          vecty.MarkupOrChild
	ChangeHandler func(thisIT *IT, e *vecty.Event)
	On            bool
	Disabled      bool
	OnIcon        *icon.I
	OffIcon       *icon.I

	OnLabel  string
	OffLabel string
	// contains filtered or unexported fields
}

IT is a vecty-material icontoggle component.

func (*IT) Apply

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

func (*IT) Render

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