Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Div ¶
type Div struct { vecty.Core Text string `vecty:"prop"` Color color.Value `vecty:"prop"` Background background.Value `vecty:"prop"` Padding padding.Value `vecty:"prop"` Margin margin.Value `vecty:"prop"` Border border.Value `vecty:"prop"` HoverColor color.Value `vecty:"prop"` HoverBackground background.Value `vecty:"prop"` DisabledColor color.Value `vecty:"prop"` DisabledBackground background.Value `vecty:"prop"` Click func(i *vecty.Event) `vecty:"prop"` MouseEnter func(i *vecty.Event) `vecty:"prop"` MouseLeave func(i *vecty.Event) `vecty:"prop"` Extra []vecty.Applyer `vecty:"prop"` Disabled bool `vecty:"prop"` Focusable bool `vecty:"prop"` // contains filtered or unexported fields }
func (*Div) Render ¶
func (d *Div) Render() vecty.ComponentOrHTML
type Generic ¶
type Generic struct { vecty.Core Div func() vecty.ComponentOrHTML `vecty:"prop"` HoverDiv func() vecty.ComponentOrHTML `vecty:"prop"` DisabledDiv func() vecty.ComponentOrHTML `vecty:"prop"` Click func(i *vecty.Event, button *Generic) `vecty:"prop"` MouseEnter func(i *vecty.Event, button *Generic) `vecty:"prop"` MouseLeave func(i *vecty.Event, button *Generic) `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
type Simple ¶
type Simple struct { vecty.Core Text string `vecty:"prop"` Color color.Value `vecty:"prop"` Background background.Value `vecty:"prop"` Padding padding.Value `vecty:"prop"` Margin margin.Value `vecty:"prop"` Border border.Value `vecty:"prop"` HoverColor color.Value `vecty:"prop"` HoverBackground background.Value `vecty:"prop"` DisabledColor color.Value `vecty:"prop"` DisabledBackground background.Value `vecty:"prop"` Click func(i *vecty.Event) `vecty:"prop"` MouseEnter func(i *vecty.Event) `vecty:"prop"` MouseLeave func(i *vecty.Event) `vecty:"prop"` Extra []vecty.Applyer `vecty:"prop"` Disabled bool `vecty:"prop"` // contains filtered or unexported fields }
func (*Simple) Render ¶
func (s *Simple) Render() vecty.ComponentOrHTML
Click to show internal directories.
Click to hide internal directories.