Namespace: agent

me. agent

A collection of utilities to ease porting between different user agents.
Source:
agent.js, line 20

Methods

<static> prefixed(name, obj) → {Mixed}

Get a vendor-prefixed property
Parameters:
Name Type Argument Default Description
name String Property name
obj Object <optional>
window Object or element reference to access
Source:
agent.js, line 34
Returns:
Value of property
Type
Mixed

<static> setPrefixed(name, value, obj)

Set a vendor-prefixed property
Parameters:
Name Type Argument Default Description
name String Property name
value Mixed Property value
obj Object <optional>
window Object or element reference to access
Source:
agent.js, line 60
Returns:
true if one of the vendor-prefixed property was found