about summary refs log tree commit diff stats
path: root/src/html/enums.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/enums.nim')
-rw-r--r--src/html/enums.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/html/enums.nim b/src/html/enums.nim
index baa948a0..6d1a0771 100644
--- a/src/html/enums.nim
+++ b/src/html/enums.nim
@@ -122,3 +122,8 @@ const inputTypeMap = getInputTypeMap()
 
 func inputType*(s: string): InputType =
   return inputTypeMap.getOrDefault(s.toLowerAscii())
+
+const AutoDirInput* = {
+  INPUT_HIDDEN, INPUT_TEXT, INPUT_SEARCH, INPUT_TEL, INPUT_URL, INPUT_EMAIL,
+  INPUT_PASSWORD, INPUT_SUBMIT, INPUT_RESET, INPUT_BUTTON
+}