Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BoolProps = map[string]string{
"autofocus": "Autofocus",
"checked": "Checked",
}
BoolProps is a map of the boolean properties in a template to their vecty names
View Source
var ElemNames = map[string]string{}/* 110 elements not displayed */
ElemNames is a map of the elements in a template to their Vecty names
View Source
var StringProps = map[string]string{
"for": "For",
"href": "Href",
"id": "ID",
"placeholder": "Placeholder",
"src": "Src",
"value": "Value",
}
StringProps is a map of the string properties in a template to their vecty names
View Source
var TypeProps = map[string]string{
"button": "TypeButton",
"checkbox": "TypeCheckbox",
"color": "TypeColor",
"date": "TypeDate",
"datetime": "TypeDatetime",
"datetime-local": "TypeDatetimeLocal",
"email": "TypeEmail",
"file": "TypeFile",
"hidden": "TypeHidden",
"image": "TypeImage",
"month": "TypeMonth",
"number": "TypeNumber",
"password": "TypePassword",
"radio": "TypeRadio",
"range": "TypeRange",
"min": "TypeMin",
"max": "TypeMax",
"value": "TypeValue",
"step": "TypeStep",
"reset": "TypeReset",
"search": "TypeSearch",
"submit": "TypeSubmit",
"tel": "TypeTel",
"text": "TypeText",
"time": "TypeTime",
"url": "TypeUrl",
"week": "TypeWeek",
}
TypeProps is a map of the types in a template to their vecty names
Functions ¶
func ComponentElement ¶
func ComponentElement(appPackage, componentName string, token *xml.StartElement) *jen.Statement
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.