mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 03:00:02 +00:00
Added interfaces for input and inputtypes
This commit is contained in:
31
modernizr/modernizr.d.ts
vendored
31
modernizr/modernizr.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user