OpenLayers.Util.vendorPrefix

A collection of utility functions to detect vendor prefixed features

Summary
OpenLayers.Util.vendorPrefixA collection of utility functions to detect vendor prefixed features
Functions
cssDetect which property is used for a CSS property
jsDetect which property is used for a JS property/method
styleDetect which property is used for a DOM style property

Functions

css

function css(property)

Detect which property is used for a CSS property

Parameters

property{String} The standard (unprefixed) CSS property name

Returns

{String} The standard CSS property, prefixed property or null if not supported

js

function js(obj,
property)

Detect which property is used for a JS property/method

Parameters

obj{Object} The object to test on
property{String} The standard (unprefixed) JS property name

Returns

{String} The standard JS property, prefixed property or null if not supported

style

function style(property)

Detect which property is used for a DOM style property

Parameters

property{String} The standard (unprefixed) style property name

Returns

{String} The standard style property, prefixed property or null if not supported

function css(property)
Detect which property is used for a CSS property
function js(obj,
property)
Detect which property is used for a JS property/method
function style(property)
Detect which property is used for a DOM style property
Close