-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.go
35 lines (32 loc) · 1.19 KB
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2015 Alex Browne and Soroush Pour.
// Allrights reserved. Use of this source code is
// governed by the MIT license, which can be found
// in the LICENSE file.
package form
// InputType is a value for the type attribute of an input element.
type InputType string
const (
InputDefault InputType = ""
InputButton InputType = "button"
InputCheckbox InputType = "checkbox"
InputColor InputType = "color"
InputDate InputType = "date"
InputDateTime InputType = "datetime"
InputDateTimeLocal InputType = "datetime-local"
InputEmail InputType = "email"
InputFile InputType = "file"
InputHidden InputType = "hidden"
InputImage InputType = "image"
InputMonth InputType = "month"
InputNumber InputType = "number"
InputPassword InputType = "password"
InputRadio InputType = "radio"
InputRange InputType = "range"
InputReset InputType = "reset"
InputSearch InputType = "search"
InputTel InputType = "tel"
InputText InputType = "text"
InputTime InputType = "time"
InputURL InputType = "url"
InputWeek InputType = "week"
)