Interface ModernizrStatic

Index

Properties

Methods

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