elements

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInputSelectRow

func NewInputSelectRow(id, label, value string, options []string, optionsText []string) *elements.RawElement

NewInputSelectRow return an input select element to use on form

Types

type Card

type Card struct {
	valente.Panel
}

Card is a materializecss component

func NewCard

func NewCard(title string, content *valente.Panel, actions []*valente.Link) *Card

NewCard create and initialize a new card

type Col

type Col struct {
	S  int
	M  int
	L  int
	XL int
	// contains filtered or unexported fields
}

Col element of layout

func NewCol

func NewCol() *Col

NewCol create a new column for layout

func (*Col) String

func (col *Col) String() string

type Form

type Form struct {
	elements.Base
	elements.Container
}

Form element produces an HTML form element (<form>)

func (Form) String

func (f Form) String() string

String emit html text for Heading1

type ImageCard

type ImageCard struct {
	valente.Panel

	Content valente.Panel
	Actions valente.Panel
	// contains filtered or unexported fields
}

ImageCard is a materializecss component

func NewImageCard

func NewImageCard(title, fimg, icon, textcontent string) ImageCard

NewImageCard create and initialize a new card - put icon blank to without icon

type Label

type Label struct {
	elements.Base
	For  string
	Text string
}

Label element produces an HTML label element (<label>)

func (Label) String

func (l Label) String() string

String emit html text for Heading1

type Row

type Row struct {
	valente.Panel
}

Row is a element of layout

func NewInputCodBarRow

func NewInputCodBarRow(id, label, value string) *Row

NewInputCodBarRow return an input text element to use on form

func NewInputPasswordRow

func NewInputPasswordRow(id, label, value string) *Row

NewInputPasswordRow return an input text element to use on form

func NewInputTextRow

func NewInputTextRow(id, label, value, itype, iclass string) *Row

NewInputTextRow return an input text element to use on form

func NewRow

func NewRow() *Row

NewRow create a new Row

Jump to

Keyboard shortcuts

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