toggle

package
v0.0.0-...-958e9d3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generic

type Generic struct {
	vecty.Core
	On          func() vecty.ComponentOrHTML          `vecty:"prop"` //these are the bare min to implement
	Off         func() vecty.ComponentOrHTML          `vecty:"prop"` //these are the bare min to implement
	HoverOn     func() vecty.ComponentOrHTML          `vecty:"prop"`
	HoverOff    func() vecty.ComponentOrHTML          `vecty:"prop"`
	DisabledOn  func() vecty.ComponentOrHTML          `vecty:"prop"`
	DisabledOff func() vecty.ComponentOrHTML          `vecty:"prop"`
	OnChange    func(i *vecty.Event, toggle *Generic) `vecty:"prop"`
	MouseEnter  func(i *vecty.Event, toggle *Generic) `vecty:"prop"`
	MouseLeave  func(i *vecty.Event, toggle *Generic) `vecty:"prop"`
	State       bool                                  `vecty:"prop"`
	Extra       []vecty.Applyer                       `vecty:"prop"`
	Disabled    bool                                  `vecty:"prop"`
	Focusable   bool                                  `vecty:"prop"`
	// contains filtered or unexported fields
}

func (*Generic) Render

func (g *Generic) Render() vecty.ComponentOrHTML

Jump to

Keyboard shortcuts

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