Documentation ¶
Index ¶
- Variables
- type DataList
- type Input
- func (i *Input) Autocomplete() bool
- func (i *Input) Autofocus() bool
- func (i *Input) Checked() string
- func (i *Input) For() string
- func (i *Input) FormEnctype() string
- func (i *Input) FormNoValidate() string
- func (i *Input) FormTarget() string
- func (i *Input) Height() string
- func (i *Input) List() string
- func (i *Input) Max() string
- func (i *Input) MaxLength() string
- func (i *Input) Min() string
- func (i *Input) Pattern() string
- func (i *Input) Required() string
- func (i *Input) SetAutocomplete(b bool) *Input
- func (i *Input) SetAutofocus(b bool) *Input
- func (i *Input) SetChecked(checked string) *Input
- func (i *Input) SetFor(value string) *Input
- func (i *Input) SetFormEnctype(value string) error
- func (i *Input) SetFormNoValidate() error
- func (i *Input) SetFormTarget(value tinydom.Target) error
- func (i *Input) SetHeight(v string) *Input
- func (i *Input) SetList(value string) *Input
- func (i *Input) SetMax(max string) *Input
- func (i *Input) SetMaxLength(length string) *Input
- func (i *Input) SetMin(min string) *Input
- func (i *Input) SetPattern(pattern string) *Input
- func (i *Input) SetRequired(required string) *Input
- func (i *Input) SetStep(step string) *Input
- func (i *Input) SetValue(v string) *Input
- func (i *Input) SetWidth(v string) *Input
- func (i *Input) Step() string
- func (i *Input) Value() string
- func (i *Input) Width() string
- type InputType
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidAttribute = errors.New("invalid attribute provided for input type")
Functions ¶
This section is empty.
Types ¶
type DataList ¶ added in v0.0.2
func NewDataList ¶ added in v0.0.2
type Input ¶
func FromElement ¶ added in v0.0.3
func NewTextInput ¶
func NewTextInput() *Input
func (*Input) Autocomplete ¶ added in v0.0.2
func (*Input) FormEnctype ¶ added in v0.0.2
func (*Input) FormNoValidate ¶ added in v0.0.2
func (*Input) FormTarget ¶ added in v0.0.2
func (*Input) SetAutocomplete ¶ added in v0.0.2
func (*Input) SetAutofocus ¶ added in v0.0.2
func (*Input) SetChecked ¶ added in v0.0.2
func (*Input) SetFormEnctype ¶ added in v0.0.2
func (*Input) SetFormNoValidate ¶ added in v0.0.2
func (*Input) SetFormTarget ¶ added in v0.0.2
func (*Input) SetMaxLength ¶ added in v0.0.2
func (*Input) SetPattern ¶ added in v0.0.2
func (*Input) SetRequired ¶ added in v0.0.2
type InputType ¶
type InputType string
const ( ButtonInput InputType = "button" CheckboxInput InputType = "checkbox" ColorInput InputType = "color" DateInput InputType = "date" LocalInput InputType = "datetime-local" EmailInput InputType = "email" FileInput InputType = "file" HiddenInput InputType = "hidden" ImageInput InputType = "image" MonthInput InputType = "month" NumberInput InputType = "number" PasswordInput InputType = "password" RadioInput InputType = "radio" RangeInput InputType = "range" ResetInput InputType = "reset" SearchInput InputType = "search" SubmitInput InputType = "submit" TelInput InputType = "tel" TextInput InputType = "text" TimeInput InputType = "time" UrlInput InputType = "url" WeekInput InputType = "week" )
Click to show internal directories.
Click to hide internal directories.