Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
ModernizrStatic
Interface ModernizrStatic
Index
Properties
applicationcache
audio
autofocus
backgroundsize
borderimage
borderradius
boxshadow
canvas
canvastext
cssanimations
csscolumns
cssgradients
cssreflections
csstransforms
csstransforms3d
csstransitions
draganddrop
flexbox
fontface
generatedcontent
geolocation
hashchange
history
hsla
indexeddb
inlinesvg
input
inputtypes
localstorage
multiplebgs
opacity
postmessage
rgba
sessionstorage
smil
svg
svgclippaths
textshadow
touch
video
webgl
websockets
websqldatabase
webworkers
Methods
addTest
hasEvent
load
mq
prefixed
testAllProps
testProp
testStyles
Properties
public
applicationcache
:
boolean
public
audio
:
Audioboolean
public
autofocus
:
boolean
public
backgroundsize
:
boolean
public
borderimage
:
boolean
public
borderradius
:
boolean
public
boxshadow
:
boolean
public
canvas
:
boolean
public
canvastext
:
boolean
public
cssanimations
:
boolean
public
csscolumns
:
boolean
public
cssgradients
:
boolean
public
cssreflections
:
boolean
public
csstransforms
:
boolean
public
csstransforms3d
:
boolean
public
csstransitions
:
boolean
public
draganddrop
:
boolean
public
flexbox
:
boolean
public
fontface
:
boolean
public
generatedcontent
:
boolean
public
geolocation
:
boolean
public
hashchange
:
boolean
public
history
:
boolean
public
hsla
:
boolean
public
indexeddb
:
boolean
public
inlinesvg
:
boolean
public
input
:
Inputboolean
public
inputtypes
:
InputTypesboolean
public
localstorage
:
boolean
public
multiplebgs
:
boolean
public
opacity
:
boolean
public
postmessage
:
boolean
public
rgba
:
boolean
public
sessionstorage
:
boolean
public
smil
:
boolean
public
svg
:
boolean
public
svgclippaths
:
boolean
public
textshadow
:
boolean
public
touch
:
boolean
public
video
:
Videoboolean
public
webgl
:
boolean
public
websockets
:
boolean
public
websqldatabase
:
boolean
public
webworkers
:
boolean
Methods
public
addTest
(
feature
:
string
, test
:
() => any
)
Parameters
feature:
string
test:
() => any
public
addTest
(
feature
:
string
, test
:
boolean
)
Parameters
feature:
string
test:
boolean
public
addTest
(
feature
:
any
)
Parameters
feature:
any
public
hasEvent
(
eventName
:
string
, element
?:
any
)
:
boolean
Parameters
eventName:
string
element?:
any
optional
Returns
boolean
public
load
(
resources
:
Array<any>
)
Parameters
resources:
Array<any>
public
load
(
resourceObject
:
any
)
Parameters
resourceObject:
any
public
load
(
resourceString
:
string
)
Parameters
resourceString:
string
public
mq
(
mediaQuery
:
string
)
:
boolean
Parameters
mediaQuery:
string
Returns
boolean
public
prefixed
(
)
:
boolean
Returns
boolean
public
prefixed
(
property
:
string
)
:
boolean
Parameters
property:
string
Returns
boolean
public
prefixed
(
property
:
string
, obj
:
any
, element
?:
any
)
:
boolean
Parameters
property:
string
obj:
any
element?:
any
optional
Returns
boolean
public
testAllProps
(
property
:
string
, prefix
?:
string
)
:
boolean
Parameters
property:
string
prefix?:
string
optional
Returns
boolean
public
testAllProps
(
property
:
string
, obj
:
any
, element
:
any
)
:
boolean
Parameters
property:
string
obj:
any
element:
any
Returns
boolean
public
testProp
(
property
:
string
)
:
boolean
Parameters
property:
string
Returns
boolean
public
testStyles
(
rule
:
string
, callback
:
(element: HTMLDivElement, rule: string) => void
, nodes
?:
number
, testnames
?:
Array<string>
)
:
boolean
Parameters
rule:
string
callback:
(element: HTMLDivElement, rule: string) => void
nodes?:
number
optional
testnames?:
Array<string>
optional
Returns
boolean
Globals