attr

package
v0.0.0-...-52c9d7f Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: Apache-2.0 Imports: 1 Imported by: 15

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func About

func About(v interface{}) gr.Modifier

About creates an HTML attribute for 'about'.

func Accept

func Accept(v interface{}) gr.Modifier

Accept creates an HTML attribute for 'accept'.

func AcceptCharset

func AcceptCharset(v interface{}) gr.Modifier

AcceptCharset creates an HTML attribute for 'acceptCharset'.

func AccessKey

func AccessKey(v interface{}) gr.Modifier

AccessKey creates an HTML attribute for 'accessKey'.

func Action

func Action(v interface{}) gr.Modifier

Action creates an HTML attribute for 'action'.

func AllowFullScreen

func AllowFullScreen(v interface{}) gr.Modifier

AllowFullScreen creates an HTML attribute for 'allowFullScreen'.

func AllowTransparency

func AllowTransparency(v interface{}) gr.Modifier

AllowTransparency creates an HTML attribute for 'allowTransparency'.

func Alt

func Alt(v interface{}) gr.Modifier

Alt creates an HTML attribute for 'alt'.

func Async

func Async(v interface{}) gr.Modifier

Async creates an HTML attribute for 'async'.

func AutoCapitalize

func AutoCapitalize(v interface{}) gr.Modifier

AutoCapitalize creates an HTML attribute for 'autoCapitalize'.

func AutoComplete

func AutoComplete(v interface{}) gr.Modifier

AutoComplete creates an HTML attribute for 'autoComplete'.

func AutoCorrect

func AutoCorrect(v interface{}) gr.Modifier

AutoCorrect creates an HTML attribute for 'autoCorrect'.

func AutoFocus

func AutoFocus(v interface{}) gr.Modifier

AutoFocus creates an HTML attribute for 'autoFocus'.

func AutoPlay

func AutoPlay(v interface{}) gr.Modifier

AutoPlay creates an HTML attribute for 'autoPlay'.

func AutoSave

func AutoSave(v interface{}) gr.Modifier

AutoSave creates an HTML attribute for 'autoSave'.

func Capture

func Capture(v interface{}) gr.Modifier

Capture creates an HTML attribute for 'capture'.

func CellPadding

func CellPadding(v interface{}) gr.Modifier

CellPadding creates an HTML attribute for 'cellPadding'.

func CellSpacing

func CellSpacing(v interface{}) gr.Modifier

CellSpacing creates an HTML attribute for 'cellSpacing'.

func Challenge

func Challenge(v interface{}) gr.Modifier

Challenge creates an HTML attribute for 'challenge'.

func CharSet

func CharSet(v interface{}) gr.Modifier

CharSet creates an HTML attribute for 'charSet'.

func Checked

func Checked(v interface{}) gr.Modifier

Checked creates an HTML attribute for 'checked'.

func Cite

func Cite(v interface{}) gr.Modifier

Cite creates an HTML attribute for 'cite'.

func ClassID

func ClassID(v interface{}) gr.Modifier

ClassID creates an HTML attribute for 'classID'.

func ClassName

func ClassName(v interface{}) gr.Modifier

ClassName creates an HTML attribute for 'className'.

func ColSpan

func ColSpan(v interface{}) gr.Modifier

ColSpan creates an HTML attribute for 'colSpan'.

func Color

func Color(v interface{}) gr.Modifier

Color creates an HTML attribute for 'color'.

func Cols

func Cols(v interface{}) gr.Modifier

Cols creates an HTML attribute for 'cols'.

func Content

func Content(v interface{}) gr.Modifier

Content creates an HTML attribute for 'content'.

func ContentEditable

func ContentEditable(v interface{}) gr.Modifier

ContentEditable creates an HTML attribute for 'contentEditable'.

func ContextMenu

func ContextMenu(v interface{}) gr.Modifier

ContextMenu creates an HTML attribute for 'contextMenu'.

func Controls

func Controls(v interface{}) gr.Modifier

Controls creates an HTML attribute for 'controls'.

func Coords

func Coords(v interface{}) gr.Modifier

Coords creates an HTML attribute for 'coords'.

func CrossOrigin

func CrossOrigin(v interface{}) gr.Modifier

CrossOrigin creates an HTML attribute for 'crossOrigin'.

func DangerouslySetInnerHTML

func DangerouslySetInnerHTML(v interface{}) gr.Modifier

DangerouslySetInnerHTML Provides the ability to insert raw HTML, mainly for cooperating with DOM string manipulation libraries.

func Data

func Data(v interface{}) gr.Modifier

Data creates an HTML attribute for 'data'.

func Datatype

func Datatype(v interface{}) gr.Modifier

Datatype creates an HTML attribute for 'datatype'.

func DateTime

func DateTime(v interface{}) gr.Modifier

DateTime creates an HTML attribute for 'dateTime'.

func Default

func Default(v interface{}) gr.Modifier

Default creates an HTML attribute for 'default'.

func DefaultValue

func DefaultValue(v interface{}) gr.Modifier

DefaultValue can be used to initialize an uncontrolled React component with a non-empty value.

See https://facebook.github.io/react/docs/forms.html

func Defer

func Defer(v interface{}) gr.Modifier

Defer creates an HTML attribute for 'defer'.

func Dir

func Dir(v interface{}) gr.Modifier

Dir creates an HTML attribute for 'dir'.

func Disabled

func Disabled(v interface{}) gr.Modifier

Disabled creates an HTML attribute for 'disabled'.

func Download

func Download(v interface{}) gr.Modifier

Download creates an HTML attribute for 'download'.

func Draggable

func Draggable(v interface{}) gr.Modifier

Draggable creates an HTML attribute for 'draggable'.

func EncType

func EncType(v interface{}) gr.Modifier

EncType creates an HTML attribute for 'encType'.

func Form

func Form(v interface{}) gr.Modifier

Form creates an HTML attribute for 'form'.

func FormAction

func FormAction(v interface{}) gr.Modifier

FormAction creates an HTML attribute for 'formAction'.

func FormEncType

func FormEncType(v interface{}) gr.Modifier

FormEncType creates an HTML attribute for 'formEncType'.

func FormMethod

func FormMethod(v interface{}) gr.Modifier

FormMethod creates an HTML attribute for 'formMethod'.

func FormNoValidate

func FormNoValidate(v interface{}) gr.Modifier

FormNoValidate creates an HTML attribute for 'formNoValidate'.

func FormTarget

func FormTarget(v interface{}) gr.Modifier

FormTarget creates an HTML attribute for 'formTarget'.

func FrameBorder

func FrameBorder(v interface{}) gr.Modifier

FrameBorder creates an HTML attribute for 'frameBorder'.

func HRef

func HRef(v interface{}) gr.Modifier

HRef creates an HTML attribute for 'href'.

func HRefLang

func HRefLang(v interface{}) gr.Modifier

HRefLang creates an HTML attribute for 'hrefLang'.

func HTMLFor

func HTMLFor(v interface{}) gr.Modifier

HTMLFor creates an HTML attribute for 'htmlFor'.

func HTTPEquiv

func HTTPEquiv(v interface{}) gr.Modifier

HTTPEquiv creates an HTML attribute for 'httpEquiv'.

func Headers

func Headers(v interface{}) gr.Modifier

Headers creates an HTML attribute for 'headers'.

func Height

func Height(v interface{}) gr.Modifier

Height creates an HTML attribute for 'height'.

func Hidden

func Hidden(v interface{}) gr.Modifier

Hidden creates an HTML attribute for 'hidden'.

func High

func High(v interface{}) gr.Modifier

High creates an HTML attribute for 'high'.

func ID

func ID(v interface{}) gr.Modifier

ID creates an HTML attribute for 'id'.

func Icon

func Icon(v interface{}) gr.Modifier

Icon creates an HTML attribute for 'icon'.

func Inlist

func Inlist(v interface{}) gr.Modifier

Inlist creates an HTML attribute for 'inlist'.

func InputMode

func InputMode(v interface{}) gr.Modifier

InputMode creates an HTML attribute for 'inputMode'.

func Integrity

func Integrity(v interface{}) gr.Modifier

Integrity creates an HTML attribute for 'integrity'.

func Is

func Is(v interface{}) gr.Modifier

Is creates an HTML attribute for 'is'.

func ItemProp

func ItemProp(v interface{}) gr.Modifier

ItemProp creates an HTML attribute for 'itemProp'.

func Key

func Key(v interface{}) gr.Modifier

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 KeyParams

func KeyParams(v interface{}) gr.Modifier

KeyParams creates an HTML attribute for 'keyParams'.

func KeyType

func KeyType(v interface{}) gr.Modifier

KeyType creates an HTML attribute for 'keyType'.

func Kind

func Kind(v interface{}) gr.Modifier

Kind creates an HTML attribute for 'kind'.

func Label

func Label(v interface{}) gr.Modifier

Label creates an HTML attribute for 'label'.

func Lang

func Lang(v interface{}) gr.Modifier

Lang creates an HTML attribute for 'lang'.

func List

func List(v interface{}) gr.Modifier

List creates an HTML attribute for 'list'.

func Loop

func Loop(v interface{}) gr.Modifier

Loop creates an HTML attribute for 'loop'.

func Low

func Low(v interface{}) gr.Modifier

Low creates an HTML attribute for 'low'.

func Manifest

func Manifest(v interface{}) gr.Modifier

Manifest creates an HTML attribute for 'manifest'.

func MarginHeight

func MarginHeight(v interface{}) gr.Modifier

MarginHeight creates an HTML attribute for 'marginHeight'.

func MarginWidth

func MarginWidth(v interface{}) gr.Modifier

MarginWidth creates an HTML attribute for 'marginWidth'.

func Max

func Max(v interface{}) gr.Modifier

Max creates an HTML attribute for 'max'.

func MaxLength

func MaxLength(v interface{}) gr.Modifier

MaxLength creates an HTML attribute for 'maxLength'.

func Media

func Media(v interface{}) gr.Modifier

Media creates an HTML attribute for 'media'.

func MediaGroup

func MediaGroup(v interface{}) gr.Modifier

MediaGroup creates an HTML attribute for 'mediaGroup'.

func Method

func Method(v interface{}) gr.Modifier

Method creates an HTML attribute for 'method'.

func Min

func Min(v interface{}) gr.Modifier

Min creates an HTML attribute for 'min'.

func MinLength

func MinLength(v interface{}) gr.Modifier

MinLength creates an HTML attribute for 'minLength'.

func Multiple

func Multiple(v interface{}) gr.Modifier

Multiple creates an HTML attribute for 'multiple'.

func Muted

func Muted(v interface{}) gr.Modifier

Muted creates an HTML attribute for 'muted'.

func Name

func Name(v interface{}) gr.Modifier

Name creates an HTML attribute for 'name'.

func NoValidate

func NoValidate(v interface{}) gr.Modifier

NoValidate creates an HTML attribute for 'noValidate'.

func Nonce

func Nonce(v interface{}) gr.Modifier

Nonce creates an HTML attribute for 'nonce'.

func Open

func Open(v interface{}) gr.Modifier

Open creates an HTML attribute for 'open'.

func Optimum

func Optimum(v interface{}) gr.Modifier

Optimum creates an HTML attribute for 'optimum'.

func Pattern

func Pattern(v interface{}) gr.Modifier

Pattern creates an HTML attribute for 'pattern'.

func Placeholder

func Placeholder(v interface{}) gr.Modifier

Placeholder creates an HTML attribute for 'placeholder'.

func Poster

func Poster(v interface{}) gr.Modifier

Poster creates an HTML attribute for 'poster'.

func Prefix

func Prefix(v interface{}) gr.Modifier

Prefix creates an HTML attribute for 'prefix'.

func Preload

func Preload(v interface{}) gr.Modifier

Preload creates an HTML attribute for 'preload'.

func Profile

func Profile(v interface{}) gr.Modifier

Profile creates an HTML attribute for 'profile'.

func Property

func Property(v interface{}) gr.Modifier

Property creates an HTML attribute for 'property'.

func RadioGroup

func RadioGroup(v interface{}) gr.Modifier

RadioGroup creates an HTML attribute for 'radioGroup'.

func ReadOnly

func ReadOnly(v interface{}) gr.Modifier

ReadOnly creates an HTML attribute for 'readOnly'.

func Ref

func Ref(v interface{}) gr.Modifier

Ref adds an ref to a component, see http://facebook.github.io/react/docs/more-about-refs.html

func Rel

func Rel(v interface{}) gr.Modifier

Rel creates an HTML attribute for 'rel'.

func Required

func Required(v interface{}) gr.Modifier

Required creates an HTML attribute for 'required'.

func Resource

func Resource(v interface{}) gr.Modifier

Resource creates an HTML attribute for 'resource'.

func Results

func Results(v interface{}) gr.Modifier

Results creates an HTML attribute for 'results'.

func Reversed

func Reversed(v interface{}) gr.Modifier

Reversed creates an HTML attribute for 'reversed'.

func Role

func Role(v interface{}) gr.Modifier

Role creates an HTML attribute for 'role'.

func RowSpan

func RowSpan(v interface{}) gr.Modifier

RowSpan creates an HTML attribute for 'rowSpan'.

func Rows

func Rows(v interface{}) gr.Modifier

Rows creates an HTML attribute for 'rows'.

func Sandbox

func Sandbox(v interface{}) gr.Modifier

Sandbox creates an HTML attribute for 'sandbox'.

func Scope

func Scope(v interface{}) gr.Modifier

Scope creates an HTML attribute for 'scope'.

func Scoped

func Scoped(v interface{}) gr.Modifier

Scoped creates an HTML attribute for 'scoped'.

func Scrolling

func Scrolling(v interface{}) gr.Modifier

Scrolling creates an HTML attribute for 'scrolling'.

func Seamless

func Seamless(v interface{}) gr.Modifier

Seamless creates an HTML attribute for 'seamless'.

func Security

func Security(v interface{}) gr.Modifier

Security creates an HTML attribute for 'security'.

func Selected

func Selected(v interface{}) gr.Modifier

Selected creates an HTML attribute for 'selected'.

func Shape

func Shape(v interface{}) gr.Modifier

Shape creates an HTML attribute for 'shape'.

func Size

func Size(v interface{}) gr.Modifier

Size creates an HTML attribute for 'size'.

func Sizes

func Sizes(v interface{}) gr.Modifier

Sizes creates an HTML attribute for 'sizes'.

func Span

func Span(v interface{}) gr.Modifier

Span creates an HTML attribute for 'span'.

func SpellCheck

func SpellCheck(v interface{}) gr.Modifier

SpellCheck creates an HTML attribute for 'spellCheck'.

func Src

func Src(v interface{}) gr.Modifier

Src creates an HTML attribute for 'src'.

func SrcDoc

func SrcDoc(v interface{}) gr.Modifier

SrcDoc creates an HTML attribute for 'srcDoc'.

func SrcLang

func SrcLang(v interface{}) gr.Modifier

SrcLang creates an HTML attribute for 'srcLang'.

func SrcSet

func SrcSet(v interface{}) gr.Modifier

SrcSet creates an HTML attribute for 'srcSet'.

func Start

func Start(v interface{}) gr.Modifier

Start creates an HTML attribute for 'start'.

func Step

func Step(v interface{}) gr.Modifier

Step creates an HTML attribute for 'step'.

func Style

func Style(v interface{}) gr.Modifier

Style creates an HTML attribute for 'style'.

func Summary

func Summary(v interface{}) gr.Modifier

Summary creates an HTML attribute for 'summary'.

func TabIndex

func TabIndex(v interface{}) gr.Modifier

TabIndex creates an HTML attribute for 'tabIndex'.

func Target

func Target(v interface{}) gr.Modifier

Target creates an HTML attribute for 'target'.

func Title

func Title(v interface{}) gr.Modifier

Title creates an HTML attribute for 'title'.

func Type

func Type(v interface{}) gr.Modifier

Type creates an HTML attribute for 'type'.

func Typeof

func Typeof(v interface{}) gr.Modifier

Typeof creates an HTML attribute for 'typeof'.

func Unselectable

func Unselectable(v interface{}) gr.Modifier

Unselectable creates an HTML attribute for 'unselectable'.

func UseMap

func UseMap(v interface{}) gr.Modifier

UseMap creates an HTML attribute for 'useMap'.

func Value

func Value(v interface{}) gr.Modifier

Value creates an HTML attribute for 'value'.

func Vocab

func Vocab(v interface{}) gr.Modifier

Vocab creates an HTML attribute for 'vocab'.

func WMode

func WMode(v interface{}) gr.Modifier

WMode creates an HTML attribute for 'wmode'.

func Width

func Width(v interface{}) gr.Modifier

Width creates an HTML attribute for 'width'.

func Wrap

func Wrap(v interface{}) gr.Modifier

Wrap creates an HTML attribute for 'wrap'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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