property

package
v2.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutofocusAttr

func AutofocusAttr(val string) trees.Property

AutofocusAttr defines attributes of type "Autofocus" for html element types.

func BackgroundStyle

func BackgroundStyle(value string) trees.Property

BackgroundStyle provides the color style value

func CheckedAttr

func CheckedAttr(val string) trees.Property

CheckedAttr defines attributes of type "Checked" for html element types.

func ClassAttr

func ClassAttr(vals ...string) trees.Property

ClassAttr defines attributes of type "Class" for html element types.

func ClassNameAttr

func ClassNameAttr(val string) trees.Property

ClassNameAttr defines attributes of type "ClassName" for html element types.

func ColorStyle

func ColorStyle(value string) trees.Property

ColorStyle provides the color style value

func CustomAttr

func CustomAttr(name, val string) trees.Property

CustomAttr returns a new Attribute with the giving name and value.

func CustomStyle

func CustomStyle(name, value string) trees.Property

CustomStyle returns a new Style with the giving name and value.

func DisplayStyle

func DisplayStyle(ops string) trees.Property

DisplayStyle provides the style setter that sets the css display value.

func FontstringStyle

func FontstringStyle(size string) trees.Property

FontstringStyle provides the margin style value

func HTMLForAttr

func HTMLForAttr(val string) trees.Property

HTMLForAttr defines attributes of type "HtmlFor" for html element types.

func HeightStyle

func HeightStyle(size string) trees.Property

HeightStyle provides the height style value

func HrefAttr

func HrefAttr(val string) trees.Property

HrefAttr defines attributes of type "Href" for html element types.

func IDAttr

func IDAttr(val string) trees.Property

IDAttr defines attributes of type "Id" for html element types.. This is rather special in that, it uses the after effect function field to set the markups internal Id field to its value. This is intentional has it helps the css system provide a more accurate selector for the element.

func MarginStyle

func MarginStyle(size string) trees.Property

MarginStyle provides the margin style value

func NameAttr

func NameAttr(val string) trees.Property

NameAttr defines attributes of type "Name" for html element types.

func PaddingStyle

func PaddingStyle(size string) trees.Property

PaddingStyle provides the margin style value

func PlaceholderAttr

func PlaceholderAttr(val string) trees.Property

PlaceholderAttr defines attributes of type "Placeholder" for html element types.

func RelAttr

func RelAttr(val string) trees.Property

RelAttr defines attributes of type "Rel" for html element types.

func SrcAttr

func SrcAttr(val string) trees.Property

SrcAttr defines attributes of type "Src" for html element types.

func TypeAttr

func TypeAttr(val string) trees.Property

TypeAttr defines attributes of type "Type" for html element types.

func ValueAttr

func ValueAttr(val string) trees.Property

ValueAttr defines attributes of type "Value" for html element types.

func WidthStyle

func WidthStyle(size string) trees.Property

WidthStyle provides the width style value

Types

This section is empty.

Jump to

Keyboard shortcuts

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