me.agent

A collection of utilities to ease porting between different user agents.

Methods

static prefixed(name, objopt) → {Mixed}

Get a vendor-prefixed property

Parameters:
Name Type Attributes Default Description
name String

Property name

obj Object <optional>
window

Object or element reference to access

Returns:
Mixed -

Value of property

static setPrefixed(name, value, objopt)

Set a vendor-prefixed property

Parameters:
Name Type Attributes Default Description
name String

Property name

value Mixed

Property value

obj Object <optional>
window

Object or element reference to access

Returns:
-

true if one of the vendor-prefixed property was found