prop

package
v0.0.0-...-cd030f3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2017 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TypeButton        InputType = "button"
	TypeCheckbox                = "checkbox"
	TypeColor                   = "color"
	TypeDate                    = "date"
	TypeDatetime                = "datetime"
	TypeDatetimeLocal           = "datetime-local"
	TypeEmail                   = "email"
	TypeFile                    = "file"
	TypeHidden                  = "hidden"
	TypeImage                   = "image"
	TypeMonth                   = "month"
	TypeNumber                  = "number"
	TypePassword                = "password"
	TypeRadio                   = "radio"
	TypeRange                   = "range"
	TypeMin                     = "min"
	TypeMax                     = "max"
	TypeValue                   = "value"
	TypeStep                    = "step"
	TypeReset                   = "reset"
	TypeSearch                  = "search"
	TypeSubmit                  = "submit"
	TypeTel                     = "tel"
	TypeText                    = "text"
	TypeTime                    = "time"
	TypeUrl                     = "url"
	TypeWeek                    = "week"
)

Variables

This section is empty.

Functions

func Autofocus

func Autofocus(autofocus bool) vecty.Markup

func Checked

func Checked(checked bool) vecty.Markup

func Class

func Class(class string) vecty.Markup

func For

func For(id string) vecty.Markup

func Href

func Href(url string) vecty.Markup

func ID

func ID(id string) vecty.Markup

func Placeholder

func Placeholder(text string) vecty.Markup

func Src

func Src(url string) vecty.Markup

func Type

func Type(t InputType) vecty.Markup

func Value

func Value(v string) vecty.Markup

Types

type InputType

type InputType string

Jump to

Keyboard shortcuts

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