Documentation ¶
Overview ¶
Package attr defines markup to create HTML attributes supported by Facebook React.
Created from "HTML Attributes" as defined by Facebook in - https://facebook.github.io/react/docs/tags-and-attributes.html - http://facebook.github.io/react/docs/special-non-dom-attributes.html
Index ¶
- func About(v interface{}) gr.Modifier
- func Accept(v interface{}) gr.Modifier
- func AcceptCharset(v interface{}) gr.Modifier
- func AccessKey(v interface{}) gr.Modifier
- func Action(v interface{}) gr.Modifier
- func AllowFullScreen(v interface{}) gr.Modifier
- func AllowTransparency(v interface{}) gr.Modifier
- func Alt(v interface{}) gr.Modifier
- func Async(v interface{}) gr.Modifier
- func AutoCapitalize(v interface{}) gr.Modifier
- func AutoComplete(v interface{}) gr.Modifier
- func AutoCorrect(v interface{}) gr.Modifier
- func AutoFocus(v interface{}) gr.Modifier
- func AutoPlay(v interface{}) gr.Modifier
- func AutoSave(v interface{}) gr.Modifier
- func Capture(v interface{}) gr.Modifier
- func CellPadding(v interface{}) gr.Modifier
- func CellSpacing(v interface{}) gr.Modifier
- func Challenge(v interface{}) gr.Modifier
- func CharSet(v interface{}) gr.Modifier
- func Checked(v interface{}) gr.Modifier
- func Cite(v interface{}) gr.Modifier
- func ClassID(v interface{}) gr.Modifier
- func ClassName(v interface{}) gr.Modifier
- func ColSpan(v interface{}) gr.Modifier
- func Color(v interface{}) gr.Modifier
- func Cols(v interface{}) gr.Modifier
- func Content(v interface{}) gr.Modifier
- func ContentEditable(v interface{}) gr.Modifier
- func ContextMenu(v interface{}) gr.Modifier
- func Controls(v interface{}) gr.Modifier
- func Coords(v interface{}) gr.Modifier
- func CrossOrigin(v interface{}) gr.Modifier
- func DangerouslySetInnerHTML(v interface{}) gr.Modifier
- func Data(v interface{}) gr.Modifier
- func Datatype(v interface{}) gr.Modifier
- func DateTime(v interface{}) gr.Modifier
- func Default(v interface{}) gr.Modifier
- func DefaultValue(v interface{}) gr.Modifier
- func Defer(v interface{}) gr.Modifier
- func Dir(v interface{}) gr.Modifier
- func Disabled(v interface{}) gr.Modifier
- func Download(v interface{}) gr.Modifier
- func Draggable(v interface{}) gr.Modifier
- func EncType(v interface{}) gr.Modifier
- func Form(v interface{}) gr.Modifier
- func FormAction(v interface{}) gr.Modifier
- func FormEncType(v interface{}) gr.Modifier
- func FormMethod(v interface{}) gr.Modifier
- func FormNoValidate(v interface{}) gr.Modifier
- func FormTarget(v interface{}) gr.Modifier
- func FrameBorder(v interface{}) gr.Modifier
- func HRef(v interface{}) gr.Modifier
- func HRefLang(v interface{}) gr.Modifier
- func HTMLFor(v interface{}) gr.Modifier
- func HTTPEquiv(v interface{}) gr.Modifier
- func Headers(v interface{}) gr.Modifier
- func Height(v interface{}) gr.Modifier
- func Hidden(v interface{}) gr.Modifier
- func High(v interface{}) gr.Modifier
- func ID(v interface{}) gr.Modifier
- func Icon(v interface{}) gr.Modifier
- func Inlist(v interface{}) gr.Modifier
- func InputMode(v interface{}) gr.Modifier
- func Integrity(v interface{}) gr.Modifier
- func Is(v interface{}) gr.Modifier
- func ItemProp(v interface{}) gr.Modifier
- func Key(v interface{}) gr.Modifier
- func KeyParams(v interface{}) gr.Modifier
- func KeyType(v interface{}) gr.Modifier
- func Kind(v interface{}) gr.Modifier
- func Label(v interface{}) gr.Modifier
- func Lang(v interface{}) gr.Modifier
- func List(v interface{}) gr.Modifier
- func Loop(v interface{}) gr.Modifier
- func Low(v interface{}) gr.Modifier
- func Manifest(v interface{}) gr.Modifier
- func MarginHeight(v interface{}) gr.Modifier
- func MarginWidth(v interface{}) gr.Modifier
- func Max(v interface{}) gr.Modifier
- func MaxLength(v interface{}) gr.Modifier
- func Media(v interface{}) gr.Modifier
- func MediaGroup(v interface{}) gr.Modifier
- func Method(v interface{}) gr.Modifier
- func Min(v interface{}) gr.Modifier
- func MinLength(v interface{}) gr.Modifier
- func Multiple(v interface{}) gr.Modifier
- func Muted(v interface{}) gr.Modifier
- func Name(v interface{}) gr.Modifier
- func NoValidate(v interface{}) gr.Modifier
- func Nonce(v interface{}) gr.Modifier
- func Open(v interface{}) gr.Modifier
- func Optimum(v interface{}) gr.Modifier
- func Pattern(v interface{}) gr.Modifier
- func Placeholder(v interface{}) gr.Modifier
- func Poster(v interface{}) gr.Modifier
- func Prefix(v interface{}) gr.Modifier
- func Preload(v interface{}) gr.Modifier
- func Profile(v interface{}) gr.Modifier
- func Property(v interface{}) gr.Modifier
- func RadioGroup(v interface{}) gr.Modifier
- func ReadOnly(v interface{}) gr.Modifier
- func Ref(v interface{}) gr.Modifier
- func Rel(v interface{}) gr.Modifier
- func Required(v interface{}) gr.Modifier
- func Resource(v interface{}) gr.Modifier
- func Results(v interface{}) gr.Modifier
- func Reversed(v interface{}) gr.Modifier
- func Role(v interface{}) gr.Modifier
- func RowSpan(v interface{}) gr.Modifier
- func Rows(v interface{}) gr.Modifier
- func Sandbox(v interface{}) gr.Modifier
- func Scope(v interface{}) gr.Modifier
- func Scoped(v interface{}) gr.Modifier
- func Scrolling(v interface{}) gr.Modifier
- func Seamless(v interface{}) gr.Modifier
- func Security(v interface{}) gr.Modifier
- func Selected(v interface{}) gr.Modifier
- func Shape(v interface{}) gr.Modifier
- func Size(v interface{}) gr.Modifier
- func Sizes(v interface{}) gr.Modifier
- func Span(v interface{}) gr.Modifier
- func SpellCheck(v interface{}) gr.Modifier
- func Src(v interface{}) gr.Modifier
- func SrcDoc(v interface{}) gr.Modifier
- func SrcLang(v interface{}) gr.Modifier
- func SrcSet(v interface{}) gr.Modifier
- func Start(v interface{}) gr.Modifier
- func Step(v interface{}) gr.Modifier
- func Style(v interface{}) gr.Modifier
- func Summary(v interface{}) gr.Modifier
- func TabIndex(v interface{}) gr.Modifier
- func Target(v interface{}) gr.Modifier
- func Title(v interface{}) gr.Modifier
- func Type(v interface{}) gr.Modifier
- func Typeof(v interface{}) gr.Modifier
- func Unselectable(v interface{}) gr.Modifier
- func UseMap(v interface{}) gr.Modifier
- func Value(v interface{}) gr.Modifier
- func Vocab(v interface{}) gr.Modifier
- func WMode(v interface{}) gr.Modifier
- func Width(v interface{}) gr.Modifier
- func Wrap(v interface{}) gr.Modifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptCharset ¶
AcceptCharset creates an HTML attribute for 'acceptCharset'.
func AllowFullScreen ¶
AllowFullScreen creates an HTML attribute for 'allowFullScreen'.
func AllowTransparency ¶
AllowTransparency creates an HTML attribute for 'allowTransparency'.
func AutoCapitalize ¶
AutoCapitalize creates an HTML attribute for 'autoCapitalize'.
func AutoComplete ¶
AutoComplete creates an HTML attribute for 'autoComplete'.
func AutoCorrect ¶
AutoCorrect creates an HTML attribute for 'autoCorrect'.
func CellPadding ¶
CellPadding creates an HTML attribute for 'cellPadding'.
func CellSpacing ¶
CellSpacing creates an HTML attribute for 'cellSpacing'.
func ContentEditable ¶
ContentEditable creates an HTML attribute for 'contentEditable'.
func ContextMenu ¶
ContextMenu creates an HTML attribute for 'contextMenu'.
func CrossOrigin ¶
CrossOrigin creates an HTML attribute for 'crossOrigin'.
func DangerouslySetInnerHTML ¶
DangerouslySetInnerHTML Provides the ability to insert raw HTML, mainly for cooperating with DOM string manipulation libraries.
func DefaultValue ¶
DefaultValue can be used to initialize an uncontrolled React component with a non-empty value.
func FormAction ¶
FormAction creates an HTML attribute for 'formAction'.
func FormEncType ¶
FormEncType creates an HTML attribute for 'formEncType'.
func FormMethod ¶
FormMethod creates an HTML attribute for 'formMethod'.
func FormNoValidate ¶
FormNoValidate creates an HTML attribute for 'formNoValidate'.
func FormTarget ¶
FormTarget creates an HTML attribute for 'formTarget'.
func FrameBorder ¶
FrameBorder creates an HTML attribute for 'frameBorder'.
func Key ¶
Key adds an optional, unique identifier. When your component shuffles around during render passes, it might be destroyed and recreated due to the diff algorithm. Assigning it a key that persists makes sure the component stays.
func MarginHeight ¶
MarginHeight creates an HTML attribute for 'marginHeight'.
func MarginWidth ¶
MarginWidth creates an HTML attribute for 'marginWidth'.
func MediaGroup ¶
MediaGroup creates an HTML attribute for 'mediaGroup'.
func NoValidate ¶
NoValidate creates an HTML attribute for 'noValidate'.
func Placeholder ¶
Placeholder creates an HTML attribute for 'placeholder'.
func RadioGroup ¶
RadioGroup creates an HTML attribute for 'radioGroup'.
func Ref ¶
Ref adds an ref to a component, see http://facebook.github.io/react/docs/more-about-refs.html
func SpellCheck ¶
SpellCheck creates an HTML attribute for 'spellCheck'.
func Unselectable ¶
Unselectable creates an HTML attribute for 'unselectable'.
Types ¶
This section is empty.