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
Click to show internal directories.
Click to hide internal directories.