From 7b6719b4fc224fc6b41de3da708aa339d2072a70 Mon Sep 17 00:00:00 2001 From: Theodore Brown Date: Sun, 5 May 2013 18:31:25 -0500 Subject: [PATCH] Added interfaces for input and inputtypes --- modernizr/modernizr.d.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/modernizr/modernizr.d.ts b/modernizr/modernizr.d.ts index 202d5d727f..e935b9e79a 100644 --- a/modernizr/modernizr.d.ts +++ b/modernizr/modernizr.d.ts @@ -17,6 +17,35 @@ interface VideoBool { webm: bool; } +interface InputBool { + autocomplete: bool; + autofocus: bool; + list: bool; + placeholder: bool; + max: bool; + min: bool; + multiple: bool; + pattern: bool; + required: bool; + step: bool; +} + +interface InputTypesBool { + search: bool; + tel: bool; + url: bool; + email: bool; + datetime: bool; + date: bool; + month: bool; + week: bool; + time: bool; + datetimelocal: bool; + number: bool; + range: bool; + color: bool; +} + interface ModernizrStatic { fontface: bool; backgroundsize: bool; @@ -46,6 +75,8 @@ interface ModernizrStatic { audio: AudioBool; video: VideoBool; indexeddb: bool; + input: InputBool; + inputtypes: InputTypesBool; localstorage: bool; postmessage: bool; sessionstorage: bool;