Documentation ¶
Index ¶
- Variables
- func A(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Abbr(title []string, c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func AddonsButton(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func AlignmentButton(l vecty.ClassMap, style ...vecty.Applyer) func(ps ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Block(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Box(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Breadcrumb(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Btn(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Btns(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Button(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Buttons(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Card(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardContent(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardFooter(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardFooterItem(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardHeader(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardHeaderIcon(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func CardHeaderTitle(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func ClassMap(m ...string) vecty.ClassMap
- func Cnt(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Components(c ...vecty.ComponentOrHTML) (l vecty.List)
- func Content(applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Css(m ...string) vecty.ClassMap
- func Del(applyer ...vecty.Applyer) vecty.ComponentOrHTML
- func Field(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func GroupButton(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func I(style ...string) vecty.ComponentOrHTML
- func Icon(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func IconButton(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func If(cond bool, children ...vecty.ComponentOrHTML) vecty.List
- func Image(css vecty.ClassMap, applyer ...vecty.Applyer) func(src string) vecty.ComponentOrHTML
- func Label(c string) vecty.ComponentOrHTML
- func ListItem(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Map(data interface{}, fn interface{}) (_l vecty.List)
- func MapElem(cpt []vecty.ComponentOrHTML, ...) vecty.List
- func MultilineGrouped(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Notification(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func OrderedList(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Progress(css vecty.ClassMap, value string, max string, indeterminate bool) vecty.ComponentOrHTML
- func RoundedImage(css vecty.ClassMap, applyer ...vecty.Applyer) func(url string) vecty.ComponentOrHTML
- func SButton(style ...string) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func SButtons(style ...string) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func StackedIcon(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Str(c ...string) []string
- func Subtitle(css vecty.ClassMap, value string) vecty.ComponentOrHTML
- func TBody(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func TFoot(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func THead(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func TR(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Tag(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Tags(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Td(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Text(text string) vecty.ComponentOrHTML
- func Th(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- func Title(css vecty.ClassMap, value string) vecty.ComponentOrHTML
- func UnorderedList(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
- type AComponent
- type AbbrComponent
- type AddonsButtonComponent
- type BlockComponent
- type BoxComponent
- type ButtonComponent
- type ButtonsComponent
- type ComponentFn
- type ContentComponent
- type DeleteComponent
- type Dropdown
- type EleHandle
- type EventHandle
- type FieldComponent
- type GroupButtonComponent
- type IComponent
- type IconButtonComponent
- type IconComponent
- type ImageComponent
- type ListItemComponent
- type M
- type MapComponent
- type MultilineGroupedComponent
- type NotificationComponent
- type OrderedListComponent
- type ProgressComponent
- type StackedIconComponent
- type StrM
- type TBodyComponent
- type TFootComponent
- type THeadComponent
- type TRComponent
- type Table
- type TableComponent
- type TagComponent
- type TagsComponent
- type TdComponent
- type TextComponent
- type ThComponent
- type TitleComponent
- type UnorderedListComponent
Constants ¶
This section is empty.
Variables ¶
View Source
var MarkupIf = vecty.MarkupIf
Functions ¶
func A ¶
func A(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Abbr ¶
func Abbr(title []string, c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func AddonsButton ¶
func AddonsButton(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func AlignmentButton ¶
func AlignmentButton(l vecty.ClassMap, style ...vecty.Applyer) func(ps ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Block ¶
func Block(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Box ¶
func Box(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Breadcrumb ¶
func Breadcrumb(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Btn ¶
func Btn(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Btns ¶
func Btns(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Button ¶
func Button(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Buttons ¶
func Buttons(style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Card ¶
func Card(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardContent ¶
func CardContent(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardFooter ¶
func CardFooter(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardFooterItem ¶
func CardFooterItem(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardHeader ¶
func CardHeader(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardHeaderIcon ¶
func CardHeaderIcon(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func CardHeaderTitle ¶
func CardHeaderTitle(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Cnt ¶
func Cnt(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Components ¶
func Components(c ...vecty.ComponentOrHTML) (l vecty.List)
func Content ¶
func Content(applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Field ¶
func Field(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func GroupButton ¶
func GroupButton(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func I ¶
func I(style ...string) vecty.ComponentOrHTML
func Icon ¶
func Icon(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func IconButton ¶
func IconButton(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Label ¶
func Label(c string) vecty.ComponentOrHTML
func ListItem ¶
func ListItem(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func MapElem ¶
func MapElem(cpt []vecty.ComponentOrHTML, fn func(c vecty.ComponentOrHTML) vecty.ComponentOrHTML) vecty.List
func MultilineGrouped ¶
func MultilineGrouped(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Notification ¶
func Notification(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func OrderedList ¶
func OrderedList(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func RoundedImage ¶
func SButton ¶
func SButton(style ...string) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func SButtons ¶
func SButtons(style ...string) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func StackedIcon ¶
func StackedIcon(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func TBody ¶
func TBody(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func TFoot ¶
func TFoot(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func THead ¶
func THead(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func TR ¶
func TR(l vecty.ClassMap, style ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Tag ¶
func Tag(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Tags ¶
func Tags(css vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Td ¶
func Td(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func Text ¶
func Text(text string) vecty.ComponentOrHTML
func Th ¶
func Th(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
func UnorderedList ¶
func UnorderedList(l vecty.ClassMap, applyer ...vecty.Applyer) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
Types ¶
type AComponent ¶
func (*AComponent) Render ¶
func (t *AComponent) Render() vecty.ComponentOrHTML
type AbbrComponent ¶
func (*AbbrComponent) Render ¶
func (t *AbbrComponent) Render() vecty.ComponentOrHTML
type AddonsButtonComponent ¶
func (*AddonsButtonComponent) Render ¶
func (t *AddonsButtonComponent) Render() vecty.ComponentOrHTML
type BlockComponent ¶
func (*BlockComponent) Render ¶
func (t *BlockComponent) Render() vecty.ComponentOrHTML
type BoxComponent ¶
func (*BoxComponent) Render ¶
func (t *BoxComponent) Render() vecty.ComponentOrHTML
type ButtonComponent ¶
func (*ButtonComponent) Render ¶
func (t *ButtonComponent) Render() vecty.ComponentOrHTML
type ButtonsComponent ¶
func (*ButtonsComponent) Render ¶
func (t *ButtonsComponent) Render() vecty.ComponentOrHTML
type ComponentFn ¶
type ComponentFn func(style ...string) func(c ...vecty.ComponentOrHTML) vecty.ComponentOrHTML
type ContentComponent ¶
func (*ContentComponent) Render ¶
func (t *ContentComponent) Render() vecty.ComponentOrHTML
type DeleteComponent ¶
func (*DeleteComponent) Render ¶
func (t *DeleteComponent) Render() vecty.ComponentOrHTML
type Dropdown ¶
type Dropdown struct { vecty.Core Title string IsActive bool OnClick func(bool) Slot vecty.Component }
func (*Dropdown) Render ¶
func (t *Dropdown) Render() vecty.ComponentOrHTML
type EventHandle ¶
type FieldComponent ¶
func (*FieldComponent) Render ¶
func (t *FieldComponent) Render() vecty.ComponentOrHTML
type GroupButtonComponent ¶
func (*GroupButtonComponent) Render ¶
func (t *GroupButtonComponent) Render() vecty.ComponentOrHTML
type IComponent ¶
func (*IComponent) Render ¶
func (t *IComponent) Render() vecty.ComponentOrHTML
type IconButtonComponent ¶
func (*IconButtonComponent) Render ¶
func (t *IconButtonComponent) Render() vecty.ComponentOrHTML
type IconComponent ¶
func (*IconComponent) Render ¶
func (t *IconComponent) Render() vecty.ComponentOrHTML
type ImageComponent ¶
type ImageComponent struct { vecty.Core IsRounded bool Src string Markup vecty.MarkupList Slot vecty.List }
func (*ImageComponent) Render ¶
func (t *ImageComponent) Render() vecty.ComponentOrHTML
type ListItemComponent ¶
func (*ListItemComponent) Render ¶
func (t *ListItemComponent) Render() vecty.ComponentOrHTML
type MapComponent ¶
type MapComponent map[string]vecty.ComponentOrHTML
type MultilineGroupedComponent ¶
func (*MultilineGroupedComponent) Render ¶
func (t *MultilineGroupedComponent) Render() vecty.ComponentOrHTML
type NotificationComponent ¶
type NotificationComponent struct { vecty.Core Css vecty.ClassMap Markup vecty.MarkupList Slot vecty.List }
func (*NotificationComponent) Render ¶
func (t *NotificationComponent) Render() vecty.ComponentOrHTML
type OrderedListComponent ¶
func (*OrderedListComponent) Render ¶
func (t *OrderedListComponent) Render() vecty.ComponentOrHTML
type ProgressComponent ¶
type ProgressComponent struct { vecty.Core Markup vecty.MarkupList Slot vecty.List // contains filtered or unexported fields }
func (*ProgressComponent) Render ¶
func (t *ProgressComponent) Render() vecty.ComponentOrHTML
type StackedIconComponent ¶
func (*StackedIconComponent) Render ¶
func (t *StackedIconComponent) Render() vecty.ComponentOrHTML
type TBodyComponent ¶
func (*TBodyComponent) Render ¶
func (t *TBodyComponent) Render() vecty.ComponentOrHTML
type TFootComponent ¶
func (*TFootComponent) Render ¶
func (t *TFootComponent) Render() vecty.ComponentOrHTML
type THeadComponent ¶
func (*THeadComponent) Render ¶
func (t *THeadComponent) Render() vecty.ComponentOrHTML
type TRComponent ¶
type TRComponent struct { vecty.Core IsSelected bool OnClick func(int) Num int Markup vecty.MarkupList Slot vecty.List }
func (*TRComponent) Render ¶
func (t *TRComponent) Render() vecty.ComponentOrHTML
type Table ¶
type Table TableComponent
type TableComponent ¶
type TableComponent struct { vecty.Core SelectedNum int Header [][]string Body []map[string]interface{} Markup vecty.MarkupList Slot vecty.List // contains filtered or unexported fields }
func (*TableComponent) HandleBody ¶
func (t *TableComponent) HandleBody(fn func(k string, v interface{}) vecty.ComponentOrHTML) *TableComponent
func (*TableComponent) HandleHeader ¶
func (t *TableComponent) HandleHeader(fn func(hs []string) vecty.ComponentOrHTML) *TableComponent
func (*TableComponent) Render ¶
func (t *TableComponent) Render() vecty.ComponentOrHTML
type TagComponent ¶
type TagComponent struct { vecty.Core Markup vecty.MarkupList Slot vecty.List // contains filtered or unexported fields }
func (*TagComponent) Render ¶
func (t *TagComponent) Render() vecty.ComponentOrHTML
type TagsComponent ¶
type TagsComponent struct { vecty.Core Markup vecty.MarkupList Slot vecty.List // contains filtered or unexported fields }
func (*TagsComponent) Render ¶
func (t *TagsComponent) Render() vecty.ComponentOrHTML
type TdComponent ¶
func (*TdComponent) Render ¶
func (t *TdComponent) Render() vecty.ComponentOrHTML
type TextComponent ¶
type TextComponent struct { vecty.Core Slot []vecty.MarkupOrChild // contains filtered or unexported fields }
func (*TextComponent) Render ¶
func (t *TextComponent) Render() vecty.ComponentOrHTML
type ThComponent ¶
func (*ThComponent) Render ¶
func (t *ThComponent) Render() vecty.ComponentOrHTML
type TitleComponent ¶
type TitleComponent struct { vecty.Core Markup vecty.MarkupList Slot vecty.List // contains filtered or unexported fields }
func (*TitleComponent) Render ¶
func (t *TitleComponent) Render() vecty.ComponentOrHTML
type UnorderedListComponent ¶
func (*UnorderedListComponent) Render ¶
func (t *UnorderedListComponent) Render() vecty.ComponentOrHTML
Source Files ¶
- a.go
- a_component.go
- alias.go
- box.go
- box_component.go
- breadcrumb.go
- button.go
- button_component.go
- card.go
- container.go
- container_component.go
- content.go
- content_component.go
- delete.go
- delete_component.go
- dropdown.go
- form.go
- icon.go
- icon_component.go
- image.go
- image_component.go
- list.go
- list_component.go
- notification.go
- notification_component.go
- progress.go
- progress_component.go
- table.go
- table_component.go
- tag.go
- tag_component.go
- text.go
- text_component.go
- title.go
- title_component.go
- utils.go
Click to show internal directories.
Click to hide internal directories.