Documentation
¶
Overview ¶
Package attr provides shortcuts and helpers to common HTML attributes. See https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes for a list of attributes.
Index ¶
- func Accept(v string) g.Node
- func Async() g.Node
- func AutoComplete(v string) g.Node
- func AutoFocus() g.Node
- func AutoPlay() g.Node
- func Charset(v string) g.Node
- func Class(v string) g.Node
- func Cols(v string) g.Node
- func Content(v string) g.Node
- func Controls() g.Node
- func Defer() g.Node
- func Disabled() g.Node
- func Form(v string) g.Node
- func Height(v string) g.Node
- func Href(v string) g.Node
- func ID(v string) g.Node
- func Lang(v string) g.Node
- func Max(v string) g.Node
- func MaxLength(v string) g.Node
- func Min(v string) g.Node
- func MinLength(v string) g.Node
- func Multiple() g.Node
- func Name(v string) g.Node
- func Pattern(v string) g.Node
- func Placeholder(v string) g.Node
- func Preload(v string) g.Node
- func ReadOnly() g.Node
- func Rel(v string) g.Node
- func Required() g.Node
- func Rows(v string) g.Node
- func Selected() g.Node
- func Src(v string) g.Node
- func Style(v string) g.Node
- func TabIndex(v string) g.Node
- func Target(v string) g.Node
- func Title(v string) g.Node
- func Type(v string) g.Node
- func Value(v string) g.Node
- func Width(v string) g.Node
- type Classes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoComplete ¶ added in v0.8.0
func Placeholder ¶ added in v0.5.0
Types ¶
Click to show internal directories.
Click to hide internal directories.